/* 
   Fichier CSS pour le portfolio
*/

/* ============= SOMMAIRE ============= 
 1. Variables et configurations globales
 2. Styles de base et reset
 3. Layout général
 4. Composants de navigation
 5. Sections spécifiques
    5.1 Hero / Header
    5.2 Section About
    5.3 Section Certifications
    5.4 Section Skills
    5.5 Section Contact / Footer
 6. Composants réutilisables
    6.1 Cards
    6.2 Buttons
 7. Animations et effets
 8. Utilitaires
 9. Media queries (responsive)
*/

/* ============= 1. Variables et configurations globales ============= */
:root {
    /* Palette Minimaliste - Tons bleus */
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --accent-color: #60a5fa;
    --accent-secondary: #2563eb;
    --accent-glow: rgba(59, 130, 246, 0.2);
    --text-color: #e2e8f0;
    --text-muted: #64748b;
    --bg-color: #0a0f1a;
    --card-bg: rgba(15, 23, 42, 0.6);
    --header-bg: #030712;
    --border-color: rgba(100, 116, 139, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.2);
    --success-color: #10b981;
    --warning-color: #f59e0b;
    
    /* RGB versions */
    --primary-rgb: 59, 130, 246;
    --accent-rgb: 96, 165, 250;
    --accent-secondary-rgb: 37, 99, 235;
    --bg-rgb: 10, 15, 26;
    
    /* Transitions épurées */
    --transition-speed: 0.2s;
    --transition-long: 0.35s;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Effets subtils */
    --glass-blur: 12px;
    --glow-strength: 0px;
    --border-glow: none;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* ============= 2. Styles de base et reset ============= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--header-bg);
    background-image: 
        radial-gradient(circle at 25% 10%, rgba(var(--primary-rgb), 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(var(--accent-rgb), 0.05) 0%, transparent 60%);
    line-height: 1.6;
    transition: background-color var(--transition-long), color var(--transition-long);
    overflow-x: hidden;
    position: relative;
}

/* Overlay subtil */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    opacity: 0;
    z-index: -1;
    pointer-events: none;
}

/* Ajout d'un second overlay pour créer un effet de profondeur */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(125deg, 
            rgba(var(--bg-rgb), 0.4) 0%, 
            rgba(var(--bg-rgb), 0.2) 40%, 
            rgba(var(--primary-rgb), 0.05) 60%, 
            rgba(var(--bg-rgb), 0.2) 70%, 
            rgba(var(--bg-rgb), 0.4) 100%);
    background-size: 400% 400%;
    opacity: 0.4;
    z-index: -2;
    animation: gradientBG 30s ease infinite;
}

/* Amélioration des styles généraux pour le texte */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-spacing: -0.5px;
    text-justify: inter-word;
}

.text-justify {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-spacing: -0.5px;
    text-justify: inter-word;
}
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all var(--transition-speed);
    position: relative;
}

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

/* Ajout de nouvelles animations pour les effets dynamiques */
@keyframes noise {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-1%, -1%); }
    30% { transform: translate(1%, -1%); }
    50% { transform: translate(-1%, 1%); }
    70% { transform: translate(1%, -1%); }
    90% { transform: translate(-1%, 1%); }
}

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

/* Amélioration des cartes avec effet sobre */
.skill-card, .certif-item, .contact-card, .competence-description, .soft-skill-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 12px;
    transition: transform var(--transition-speed), 
                box-shadow var(--transition-speed);
}

.skill-card:hover, .certif-item:hover, .soft-skill-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12),
        0 0 2px rgba(255, 255, 255, 0.15);
    background: rgba(35, 35, 40, 0.75);
}

/* Effet subtil de néon pour les éléments interactifs */
.skill-header, .contact-icon, .certif-badge, .filter-btn.active {
    position: relative;
}

/* ============= 3. Layout général ============= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    position: relative;
}

.col-12 {
    width: 100%;
    padding: 0 15px;
}

/* Styles communs aux sections */
.main {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

/* Ajout de séparateurs de section */
.main:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(to right, 
        transparent, 
        rgba(var(--primary-rgb), 0.15) 20%,
        rgba(var(--primary-rgb), 0.25) 50%,
        rgba(var(--primary-rgb), 0.15) 80%,
        transparent
    );
}

.style1, .style2 {
    background: transparent;
    color: var(--text-color);
    position: relative;
}

/* Ajout d'effets de profondeur pour les sections */
.style1::before, .style2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(var(--primary-rgb), 0.03) 0%, transparent 70%);
    opacity: 0.8;
    pointer-events: none;
}

.section-header {
    margin-bottom: 3.5rem;
    text-align: center;
    position: relative;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Version améliorée pour les titres de section */
.section-title {
    position: relative;
    font-size: 2rem;
    display: inline-block;
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

.section-title::before, .section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--border-color);
}

.section-title::before {
    right: 100%;
}

.section-title::after {
    left: 100%;
}

.section-title.with-gradient {
    color: var(--primary-color);
}

/* Mise à jour des card styles pour le fond sombre */
.skill-card, .certif-item, .contact-card, .competence-description, .soft-skill-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ============= 4. Menu Toggle & Navigation latérale ============= */
/* Bouton hamburger en haut à gauche */
.menu-toggle {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 12px;
    cursor: pointer;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(var(--primary-rgb), 0.2);
    transform: scale(1.05);
}

.menu-toggle .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 22px;
}

.menu-toggle .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animation hamburger vers X */
.menu-toggle.active .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Menu latéral */
.side-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(148, 163, 184, 0.1);
    z-index: 1001;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 5rem 1.5rem 2rem;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.3);
}

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

.side-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.side-menu-links li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.side-menu-links li a:hover {
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--text-color);
    transform: translateX(5px);
}

.side-menu-links li a i {
    width: 24px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* Overlay pour fermer le menu */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============= 5. Sections spécifiques ============= */
/* ============= 5.1 Hero / Header ============= */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: var(--header-bg);
    overflow: hidden;
}

.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAABmJLR0QA/wD/AP+gvaeTAAAHEElEQVRogZ2aS5McxxHHf9X1ZVnmECxIAoRJUQJJWlArZvUZHL7hc/jD7BMGZFh6hQECxJJccndmenr6keFD1WznzHTP7IJcPhTZ1dlfZvXvsmvvvdchxojWGq01WiuUUiilEBEARASA9Xpt1+s1x+ORaZqYpondbsflcsG9996HWpKGUkorhTLdFJFuhDydHCMxJr221ppxHFmv16zXa8ZxZBgGhmHAWkvkvBJUiJE4ngJccvTNbr88ybBcSoNvmUuXjnnJc8n5AIbDuTrP8UPnfF63EvfpQ45fCJF3SwEQkZLrp4E4pben+bxW4/xZtPGKXgAXUAHxOT3OoVZra608eC1UNQsPczXn0qA5iFiw5YlnEFAV7/F1jaq+VQcgdZL7KEVKeCz5vrhMseNpJZ12VAaVEEXMeSoQv8j3kt7eu/Re1UBlJJf8wVBKl2vs/lxUzbpp8DrdF1hpA02VBqQ2q+Izaom+mkaS33YnmU5aUUjkIZbVV0XXanhGkRiJf/6e+PiE5NP7VIClkVEVUJBOY5COKj4eH3+FWP2V5wAxnnxZqSZ8bvnGSQeVKlJluZIQte+oJw0oXgJc4i8Cf/zA9F/vGXv4VQFZrE2KVR3rTl/Prc7zJt8XIDfNE1wBFuMASDUvEkpBEaysQIY+UKCI/3xO/Onvqf+LOQeR0RqttdLOS2o1UmHwOgpr54nfHBGlAzi5e0Ken1Mf/J3DzQ0vr9dYrdBaFUpmgkjQNXHNQ9+VxH1cNFK8eqavKQCoFjo/T49OoZTEnz8Sf/oH6nBCA8pq+mGgsxa3XjMMm9MgquNu/T0CsLDsUXxxc/QAyGJPyhfFO8C9e0d8/JH49JT9dsuuAKlBxqqRJuJXHr6dCxAfP6dOyaoMRge2L4/E5+cYrdjZ1KwdVpZh1WNswxwt/Vq3JiAiKqcUObRflBDSvncPwtMz9B/QWnFm4MJqthuLcb34U491HQzjmZBdYQbMN0+rnPZzKp36ItCQzu0thF99wE+He65uLI9uLOa6Yev6tLLylA4oz0/z7EvX/VoNBiCj5rjdcdzu8JuRw/XAj2vL4/X1WYiTmbXVF0KrqcihJ8XTeGiNOhjcesRtLLcWfnNlOe72bHvAFkKYhud6io5kj/lCKVQDMue4DbY9YLaas7XwwaHDHXZnQaSjkvKw/Hw8AvDhM+LzU7jkh2Rgar3FbQ27reV47FdkuenLGqdGX0CB1GeFC2fscbwAXeEL1znGimm1wm8dd0fH8WbPrNgXvkvh6wJ4JwFYI2pHddqoYRWTnRrLbg27jQNgD2tk3oBsLW4YOGwdh8OOeU8vBP2Z0+ksFHZU5uidPG8wY0XUmpj7rhXRGsyqYzMO7LdJ+m9sk+918uFnQBZlMCWKlGUkZ0ieUhadMoR0vYdgDNEajDUMo8WuHG4Y2G8dh73loKBdEd95+JMg0lRI5xSg1GpYoNpKD6SMqRy2SjTWEtcGaw3W/RKkxM2eULs22mkBrbLCJwJRCXIXNCaMDjt2DIPhejOw3TmuN2u8ovAzitVplzoHQwPUORCm+Uj8fM2YZxye9TgfuNq4ouQVL5kDWqtU6Xeum0Qkm7kMOeQhsIp+dSgRxgBxXOGMZhhXPImWiEzTx8g4jgzDULpOZP5wr1KGC05c493NqFw0M5t5Zp4m9vsdu/3A7qWiS7PJr/8ly25g0Fod1tJvMRyOO07HnPMFM2C9p9u4MkIi58Rut+PFi5+5vHzBresC58U4ylKf75f9JaS25hQGn4PMPpVWGvO0ZDOd8Zfkzlpn7PT75FrYpgNQXwQphzfD5CiRqQARg2GPv9gTnp8Rn56KVyRx0/Z1xhg2mw1GawJLVe9pyULsicTDFeHvHwhP/0Ltb4muZWjzI+X/qiYEPfidD2IT9XXzOglBfXM5Nd3bBd7n9cUAVKJsoUl5UTSp/D2Bm4lG7H68gw1ugijbATP6REW8fDnvslVzbFIGvXq76lcxv9+8vtXbf1WnUYJwxc2fbbX15HrRP6z7LXVHizKLzXtDVn6ny6+/Ffj4Q95beLUHn7Lp8/2qZTNUORQXktW5LKE/96N2wBNN/1r7FeBrfULM/cCCKl1qY2nxtZW9ssTGk1ZN/QxN3cSJx1RF0qupkmopfTLH2BkZq0825+EVbZRqrKOdRLtNVgEukhsSnAeZJarGVd1BK6+l0+5c3JqBaKJKS2lTnZQqUMWETNNQ7FMg5935HLwpjcqjs0NOoJS5qKftaCXU2dpcoFAGkt4gQsNb1U8UNKz8o5qb/ByqrNGCs+xWVJPXpqmvwFqtIrFsyVXpbcd223jeeURro+6aJrVfFU1CaI9uVTsHrb5CKJPdJDw3AE+nv/U5eU34Hd5c8K6awDvFAX8BP92AOFG13TUAAAAASUVORK5CYII=');
    opacity: 0.06;
    z-index: 1;
}

.hero .inner {
    position: relative;
    z-index: 5;
    text-align: center;
}

.hero-content {
    padding: 2rem;
    max-width: 850px;
    margin: 0 auto;
}

.glitch-container {
    position: relative;
    display: inline-block;
}

.glitch-text {
    font-size: 3.2rem;
    font-weight: 600;
    color: #fff;
    text-shadow: none;
    position: relative;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

/* Ligne d'accent sobre sous le nom */
.glitch-text::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.main-subtitle {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.8);
    margin: 2rem 0 1.5rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background-color: #fff;
    margin-left: 2px;
    animation: blink 1s infinite;
    vertical-align: middle;
}

.scroll-indicator {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255,255,255,0.9);
    transition: all 0.3s;
    margin-bottom: 5px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-link:hover {
    color: var(--primary-light);
}

.scroll-link i {
    margin-top: 0.5rem;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

.geometry-shapes .shape {
    position: absolute;
    opacity: 0.4;
    filter: blur(20px);
    z-index: 1;
}

.shape-1 {
    top: 10%;
    left: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulseShape 8s ease-in-out infinite;
}

.shape-2 {
    bottom: 10%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--accent-rgb), 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulseShape 10s ease-in-out infinite reverse;
}

.shape-3 {
    top: 50%;
    left: 40%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--accent-secondary-rgb), 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulseShape 12s ease-in-out infinite;
}

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

/* ============= 5.2 Section About ============= */
.profile-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

.profile-image-container {
    flex: 0 0 300px;
}

.hexagon-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(var(--primary-rgb), 0.1);
    transition: all 0.4s ease;
}

.hexagon-wrapper::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.hexagon-wrapper:hover::before {
    opacity: 1;
}

.hexagon-shape {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
    background: var(--card-bg);
}

.hexagon-img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform 0.4s ease;
}

.hexagon-wrapper:hover .hexagon-img {
    transform: scale(1.05);
}

.hexagon-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(var(--primary-rgb), 0.2);
}

.about-content-wrapper {
    flex: 1;
    min-width: 300px;
}

.about-text {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #ffffff;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-spacing: -0.5px;
    text-justify: inter-word;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

.about-text p {
    margin-bottom: 1rem;
}

.text-justify {
    text-align: justify;
}

.highlight {
    color: var(--primary-light);
    font-weight: 600;
    position: relative;
}

/* Styles pour les contextes professionnels */
.professional-contexts {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(var(--primary-rgb), 0.06);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    backdrop-filter: blur(8px);
}

.professional-contexts h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.context-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.context-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    color: var(--text-muted);
}

.context-list li i {
    margin-right: 0.8rem;
    color: var(--accent-color);
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

/* ============= 5.4 Section Skills ============= */
/* Filtres de compétences */
.skills-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 0.6rem;
}

.filter-btn {
    padding: 0.6rem 1.25rem;
    background: rgba(var(--primary-rgb), 0.05);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.filter-btn i {
    margin-right: 0.35rem;
}

.filter-btn:hover {
    color: var(--text-color);
    border-color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.1);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.35);
}

/* Descriptions des compétences */
.competence-descriptions {
    margin-bottom: 2rem;
}

.competence-description {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px var(--shadow-color);
    display: none;
    animation: fadeIn 0.5s ease;
}

.competence-description.active {
    display: block;
}

.competence-description h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.2);
    padding-bottom: 10px;
}

.competence-description h3 i {
    margin-right: 0.8rem;
    font-size: 1.8rem;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.competence-description p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.competence-description ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* Grille de compétences */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.skill-item {
    transition: transform 0.3s;
    position: relative;
}

.skill-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.2s var(--transition-smooth);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
}

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: rgba(var(--primary-rgb), 0.2);
}

/* Améliorations des cartes de projets */
.skill-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(to bottom, rgba(var(--primary-rgb), 0.1), transparent);
    transition: height 0.3s ease-out;
    z-index: -1;
    pointer-events: none;
}

.skill-card:hover:before {
    height: 100%;
}

/* Barre de progression du projet */
.project-status {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
}

.progress-container {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 0 0.5rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    width: 0;
    transition: width 1.2s ease-in-out;
}

/* Indicateur de projet en vedette */
.featured-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, transparent 70%, var(--accent-color));
    width: 80px;
    height: 80px;
    overflow: hidden;
    pointer-events: none;
}

.featured-badge:after {
    content: 'Vedette';
    position: absolute;
    top: 12px;
    right: -22px;
    transform: rotate(45deg);
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Amélioration des tags de projet */
.tech-tag {
    background: rgba(var(--accent-rgb), 0.1);
    border: 1px solid rgba(var(--accent-rgb), 0.15);
    color: var(--accent-color);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.tech-tag:hover {
    background: rgba(var(--accent-rgb), 0.2);
    transform: translateY(-2px);
}

.tech-tag i {
    font-size: 0.7rem;
    margin-right: 0.3rem;
    opacity: 0.9;
}

/* Amélioration du zoom des aperçus */
.example-item {
    flex: 1;
    min-width: 100px;
    max-width: calc(50% - 0.4rem);
    height: 80px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.example-item:hover {
    transform: translateY(-3px);
}

.example-thumbnail {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.example-item:hover .example-thumbnail {
    transform: scale(1.1);
}

/* Animation lors de l'apparition des projets */
@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skill-item {
    animation: cardAppear 0.5s ease-out forwards;
    opacity: 0;
}

.skill-item:nth-child(2) { animation-delay: 0.1s; }
.skill-item:nth-child(3) { animation-delay: 0.2s; }
.skill-item:nth-child(4) { animation-delay: 0.3s; }
.skill-item:nth-child(5) { animation-delay: 0.4s; }
.skill-item:nth-child(6) { animation-delay: 0.5s; }

/* Nouvelle grille de projets */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Carte de projet */
.project-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s var(--transition-smooth);
    height: 100%;
    position: relative;
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: rgba(var(--primary-rgb), 0.2);
}

/* Badge type de projet - style marque-page */
.project-type-badge {
    position: absolute;
    top: -4px;
    right: 16px;
    padding: 6px 10px 8px 10px;
    border-radius: 0 0 4px 4px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Triangle décoratif en haut du marque-page */
.project-type-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -6px;
    border-style: solid;
    border-width: 0 6px 6px 0;
    border-color: transparent;
}

.project-type-badge.professional {
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
}

.project-type-badge.professional::before {
    border-right-color: #047857;
}

.project-type-badge.academic {
    background: linear-gradient(180deg, #818cf8 0%, #6366f1 100%);
    color: white;
    border: none;
}

.project-type-badge.academic::before {
    border-right-color: #4f46e5;
}

.project-type-badge.personal {
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
    border: none;
}

/* Badge année du projet */
.project-year-badge {
    position: absolute;
    top: -4px;
    left: 16px;
    padding: 6px 10px 8px 10px;
    border-radius: 0 0 4px 4px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 10;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    background: linear-gradient(180deg, #64748b 0%, #475569 100%);
    color: white;
}
.project-year-badge::after {
    content: '';
    position: absolute;
    top: 0;
    right: -6px;
    border-style: solid;
    border-width: 0 0 6px 6px;
    border-color: transparent;
    border-left-color: #334155;
}

.project-card-inner {
    padding: 1.75rem;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* En-tête de projet */
.project-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-right: 70px;
}

.project-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.project-icon i {
    color: white;
    font-size: 1.2rem;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-color);
}

/* Étiquettes de compétences */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.project-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    transition: all 0.2s ease;
}

.project-tag:hover {
    opacity: 0.9;
}

.project-tag i {
    margin-right: 0.3rem;
    font-size: 0.7rem;
}

/* Nouvelles catégories professionnelles */
.project-tag.cybersecurity {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.project-tag.bi {
    background: rgba(6, 182, 212, 0.15);
    color: #22d3ee;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.project-tag.dataeng {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.project-tag.datascience {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.project-tag.dev {
    background: rgba(251, 146, 60, 0.15);
    color: #fb923c;
    border: 1px solid rgba(251, 146, 60, 0.3);
}

.project-tag.humanities {
    background: rgba(236, 72, 153, 0.15);
    color: #f472b6;
    border: 1px solid rgba(236, 72, 153, 0.3);
}

/* Anciennes catégories (compatibilité) */
.project-tag.traitement {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.project-tag.analyse {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.25);
}

.project-tag.valorisation {
    background: rgba(20, 184, 166, 0.15);
    color: #5eead4;
    border: 1px solid rgba(20, 184, 166, 0.25);
}

.project-tag.conception {
    background: rgba(251, 146, 60, 0.15);
    color: #fdba74;
    border: 1px solid rgba(251, 146, 60, 0.25);
}

/* Résumé du projet */
.project-summary {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary);
    flex-grow: 1;
}

/* Aperçus du projet */
.project-preview {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.preview-item {
    flex: 0 0 auto;
    width: 100%;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.preview-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.preview-thumbnail {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.6) 40%, 
        rgba(0, 0, 0, 0.4) 60%, 
        rgba(0, 0, 0, 0.2) 80%, 
        rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    color: white;
    text-align: center;
    padding: 0.5rem;
}

.preview-overlay span {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    transform: translateY(10px);
    transition: transform 0.3s ease-out;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.preview-overlay i {
    font-size: 1.5rem;
    transform: scale(0.8);
    transition: transform 0.3s ease-out;
}

.preview-item:hover .preview-thumbnail {
    transform: scale(1.05);
}

.preview-item:hover .preview-overlay {
    opacity: 1;
}

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

.preview-item:hover .preview-overlay i {
    transform: scale(1);
}

/* PDF thumbnails */
.pdf-thumb {
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-thumb:before {
    content: '\f1c1';
    font-family: 'Font Awesome 5 Free';
    font-size: 3rem;
    color: #e74c3c;
}

/* Pied de projet */
.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.project-details-btn {
    background: transparent;
    color: var(--primary-light);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s var(--transition-spring);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.project-details-btn .chevron-icon {
    display: inline-block;
    transition: transform 0.35s ease;
    font-size: 0.75rem;
}

.project-details-btn.active .chevron-icon {
    transform: rotate(180deg);
}

.project-details-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;
}

.project-details-btn:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.4);
}

.project-details-btn:hover::before {
    opacity: 1;
}

.project-details-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.project-details-btn.active::before {
    opacity: 0;
}

.project-status {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.status-indicator {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-indicator.completed {
    background-color: #2ecc71;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.6);
}

.status-indicator.in-progress {
    background-color: #f39c12;
    box-shadow: 0 0 8px rgba(243, 156, 18, 0.6);
}

.status-indicator.planned {
    background-color: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.6);
}

/* Projets mis en avant */
.project-card.featured {
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.project-card.featured:before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    margin: -2px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.featured-badge i {
    margin-right: 0.25rem;
}

/* Détails cachés - animation améliorée */
.project-details-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    padding-top: 0;
    border-top: 1px solid transparent;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.35s ease 0.1s,
                margin-top 0.3s ease,
                padding-top 0.3s ease,
                border-color 0.3s ease;
}

.project-details-content.open {
    opacity: 1;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.project-details-content h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

.project-details-content h5 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
}

/* Bouton fermer en bas des détails */
.project-details-close {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.6rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.project-details-close:hover {
    background: var(--bg-tertiary, var(--bg-secondary));
    color: var(--primary-light);
    border-color: var(--primary-color);
}

.details-section {
    margin-bottom: 1.5rem;
}

.details-section ul {
    list-style: none;
    padding-left: 0;
}

.details-section li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
}

.tech-tag i {
    margin-right: 0.25rem;
}

.additional-previews {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* ============= 5.5 Section Contact / Footer ============= */
#footer {
    background-color: transparent;
    color: var(--text-color);
    padding: 5rem 0 2rem;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-title {
    margin-bottom: 3rem;
}

.contact-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    margin-bottom: 3rem;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(148, 163, 184, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--accent-secondary));
}

.contact-info {
    max-width: 500px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    border-radius: 12px;
    transition: all 0.25s ease;
}

.contact-item:hover {
    background: rgba(var(--primary-rgb), 0.05);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(var(--primary-rgb), 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.25rem;
    color: var(--primary-light);
    font-size: 1.2rem;
    transition: all 0.25s ease;
}

.contact-item:hover .contact-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.contact-link, .contact-text {
    flex: 1;
    text-align: left;
    font-size: 1rem;
    color: var(--text-muted);
    transition: color 0.25s ease;
}

.contact-item:hover .contact-link,
.contact-item:hover .contact-text {
    color: var(--text-color);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-link {
    width: 52px;
    height: 52px;
    background: rgba(30, 41, 59, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    color: var(--text-muted);
    font-size: 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.15);
    transition: all 0.35s var(--transition-spring);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.35s ease;
}

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

.social-link:hover {
    transform: translateY(-6px) scale(1.05);
    color: white;
    border-color: transparent;
    box-shadow: 
        0 12px 30px rgba(var(--primary-rgb), 0.4),
        0 0 0 1px rgba(var(--primary-rgb), 0.3);
}

.social-link:hover::before {
    opacity: 1;
}

/* ============= 6. Composants réutilisables ============= */
/* ============= 6.1 Cards ============= */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 
        0 10px 20px rgba(0, 0, 0, 0.25),
        0 5px 15px rgba(0, 0, 0, 0.1),
        0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 16px;
    transition: transform var(--transition-speed), 
                box-shadow var(--transition-speed), 
                background-color var(--transition-speed);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.3),
        0 10px 25px rgba(0, 0, 0, 0.15),
        0 0 2px rgba(255, 255, 255, 0.15);
    background: rgba(35, 35, 40, 0.75);
}

/* ============= 6.2 Buttons ============= */
.button {
    padding: 0.85rem 1.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.35s var(--transition-spring);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 
        0 6px 20px rgba(var(--primary-rgb), 0.35),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

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

.button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 35px rgba(var(--primary-rgb), 0.45),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.button:hover::before {
    left: 100%;
}

.button i {
    font-size: 1rem;
}

/* Style pour les boutons secondaires */
.button.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.button.secondary:hover {
    background: rgba(var(--primary-rgb), 0.1);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.15);
}

/* ============= 7. Animations et effets ============= */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ============= 8. Utilitaires ============= */
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.is-preload body:before {
    display: block;
}

.defs-only {
    position: absolute;
    height: 0;
    width: 0;
    overflow: none;
    left: -9999px;
}

/* ============= 9. Media queries (responsive) ============= */
@media screen and (max-width: 1200px) {
    .glitch-text {
        font-size: 3.5rem;
    }
    
    .main-subtitle {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 992px) {
    .profile-wrapper {
        justify-content: center;
    }
    
    .profile-image-container {
        margin-bottom: 2rem;
    }
    
    .about-content-wrapper {
        text-align: center;
    }
    
    .about-text {
        text-align: left;
    }
    
    .title-underline {
        margin: 0.5rem auto 0;
    }
}

@media screen and (max-width: 768px) {
    .glitch-text {
        font-size: 2.4rem;
    }
    
    .main-subtitle {
        font-size: 1.2rem;
    }
    
    .main {
        padding: 3.5rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1rem;
    }
    
    .modal-content {
        width: 95%;
        padding: 15px;
        margin: 10px;
    }
    
    .pdf-viewer, .image-viewer {
        height: 55vh;
    }
    
    .soft-skills {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
    
    .additional-arrow {
        margin-top: 5px;
    }
    
    .scroll-indicator {
        margin-top: 1.5rem;
    }
    
    .profile-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-image-container {
        flex: 0 0 250px;
        margin: 0 auto 2rem;
    }
    
    .hexagon-wrapper {
        width: 250px;
        height: 250px;
    }
    
    .professional-contexts {
        padding: 1.2rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .competence-description {
        padding: 1rem;
    }
    
    .competence-description h3 {
        font-size: 1.25rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .competence-description h3 i {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .glitch-text {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .main-subtitle {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .certif-item {
        flex-direction: column;
        text-align: center;
    }
    
    .certif-badge {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .certif-details {
        text-align: center;
    }
    
    .filter-btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
    }
    
    .skills-filter {
        gap: 0.4rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 0.8rem;
    }
    
    .soft-skills {
        grid-template-columns: 1fr;
    }
    
    .skill-tools {
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.6rem;
        padding: 0 0.5rem;
    }
    
    .section-title::before,
    .section-title::after {
        width: 25px;
    }
    
    .main {
        padding: 3rem 0;
    }
    
    .container {
        width: 100%;
        padding: 0 12px;
    }
    
    .profile-image-container {
        flex: 0 0 200px;
    }
    
    .hexagon-wrapper {
        width: 200px;
        height: 200px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-card-inner {
        padding: 1.25rem;
    }
}

/* Styles pour la section Formation */
.style3 {
    background: transparent;
    padding: 6rem 0;
    position: relative;
}

.style3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(50,50,60,0.2) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.timeline-container {
    margin: 3rem 0;
    padding: 1rem;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 50px;
}

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

.timeline-date {
    position: absolute;
    width: 130px;
    padding: 0.6rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
    letter-spacing: 0.02em;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: -65px;
    top: 20px;
}

.timeline-item:nth-child(even) .timeline-date {
    left: -65px;
    top: 20px;
}

.timeline-content {
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.95);
    color: var(--text-color);
    border-radius: 12px;
    box-shadow: 0 4px 16px var(--shadow-color);
    transition: all 0.3s var(--transition-smooth);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(148, 163, 184, 0.08);
    position: relative;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px var(--shadow-color);
    border-color: rgba(var(--primary-rgb), 0.2);
}

.timeline-title {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.4;
}

.timeline-location {
    font-size: 0.95rem;
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-location i {
    color: var(--accent-color);
    font-size: 0.9rem;
    opacity: 0.9;
}

.timeline-description {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

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

.timeline-tag {
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary-light);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    display: inline-block;
    font-weight: 500;
    border: 1px solid rgba(var(--primary-rgb), 0.25);
    transition: all 0.25s ease;
}

.timeline-tag:hover {
    background: rgba(var(--primary-rgb), 0.25);
    border-color: rgba(var(--primary-rgb), 0.4);
    transform: translateY(-1px);
}

/* Timeline responsive pour mobile */
@media screen and (max-width: 992px) {
    .timeline::after {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 15px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        padding-left: 60px;
        padding-right: 15px;
    }
    
    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        position: relative;
        left: 0;
        right: auto;
        top: 0;
        transform: none;
        margin-bottom: 1rem;
        display: inline-block;
    }
    
    .timeline-item::before {
        left: 15px;
    }
}

@media screen and (max-width: 576px) {
    .timeline::after {
        left: 15px;
    }
    
    .timeline-item {
        padding-left: 40px;
        padding-right: 10px;
    }
    
    .timeline-date {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        width: auto;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .timeline-title {
        font-size: 1.1rem;
    }
}

/* Liste d'expériences professionnelles */
.experience-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.experience-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.experience-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.experience-list li:hover {
    color: var(--text-color);
    transition: color var(--transition-speed);
}


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

/* Footer amélioré */
.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.5rem;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
    background-color: var(--card-bg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    z-index: 1000;
    transform: translateY(150%);
    transition: transform 0.5s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.cookie-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background-color: var(--primary-color);
    color: white;
}

.cookie-btn.decline {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.cookie-policy-link {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Back to top button */
.back-to-top-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s var(--transition-spring);
    border: none;
    box-shadow: 
        0 8px 25px rgba(var(--primary-rgb), 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    z-index: 99;
    font-size: 1.2rem;
}

.back-to-top-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(var(--primary-rgb), 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.back-to-top-btn.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Optimisation des espacements pour une meilleure ergonomie */
.compact-list {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.compact-list li {
    margin-bottom: 0.3rem;
    padding: 0;
    line-height: 1.4;
}

.skill-content p, .competence-description p {
    margin-bottom: 0.7rem;
}

.container {
    padding: 0 10px;
}

/* Optimisation des cartes de compétences */
.skill-card {
    padding-bottom: 1rem;
}

.skill-header {
    padding: 0.8rem 1rem;
}

.skill-content {
    padding: 1rem 1rem 0.5rem;
}

/* Amélioration de la densité d'information et réduction des espaces vides */
.section-header {
    margin-bottom: 2rem;
}

.competence-description {
    padding: 1.2rem;
    margin-bottom: 1rem;
}

/* Optimisation pour les appareils mobiles */
@media screen and (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0 5px;
    }
    
    .skill-content {
        padding: 0.8rem;
    }
}

/* ============= Scroll Progress Bar ============= */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-light));
    z-index: 9999;
    width: 0%;
    transition: width 0.15s ease-out;
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}

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

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.8);
}

::-webkit-scrollbar-thumb {
    background: rgba(var(--primary-rgb), 0.3);
    border-radius: 5px;
    border: 2px solid rgba(15, 23, 42, 0.8);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--primary-rgb), 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.5);
}

/* ============= Selection Style ============= */
::selection {
    background: rgba(var(--primary-rgb), 0.4);
    color: white;
}

::-moz-selection {
    background: rgba(var(--primary-rgb), 0.4);
    color: white;
}

/* ============= Focus Styles for Accessibility ============= */
:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

/* ============= Download Buttons ============= */
.download-container {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15), rgba(var(--accent-rgb), 0.1));
    color: var(--primary-light);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s var(--transition-smooth);
    text-decoration: none;
}

.download-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.35);
}

.download-btn i {
    font-size: 1rem;
    transition: transform 0.3s;
}

.download-btn:hover i {
    transform: scale(1.1);
}

/* ============= Challenges Table ============= */
.challenges-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1rem 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.challenges-table th {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), rgba(var(--accent-rgb), 0.15));
    color: var(--text-color);
    padding: 0.85rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    border-bottom: 2px solid rgba(var(--primary-rgb), 0.25);
}

.challenges-table td {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.challenges-table tr:last-child td {
    border-bottom: none;
}

.challenges-table tr:hover td {
    background: rgba(var(--primary-rgb), 0.05);
}

/* ============= Note Section ============= */
.note-section {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    background: rgba(var(--primary-rgb), 0.06);
    border-left: 3px solid rgba(var(--primary-rgb), 0.4);
    border-radius: 0 8px 8px 0;
}

.note-section p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ============= Certifications Section ============= */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.cert-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(var(--glass-blur));
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--accent-secondary));
    background-size: 200% 100%;
    animation: gradientSlide 3s ease infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.cert-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--card-shadow-hover),
                0 0 30px rgba(var(--primary-rgb), 0.1);
    border-color: rgba(var(--primary-rgb), 0.25);
}

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

.cert-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), rgba(var(--accent-rgb), 0.15));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--primary-light);
}

.cert-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--text-color);
}

.cert-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.cert-card .cert-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* ============= Languages Section ============= */
.languages-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.language-card {
    text-align: center;
    min-width: 140px;
}

.language-level {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    position: relative;
    background: var(--card-bg);
    border: 3px solid rgba(var(--primary-rgb), 0.3);
    transition: all 0.3s var(--transition-smooth);
}

.language-level::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--primary-color), var(--accent-color), var(--accent-secondary), var(--primary-color));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
    filter: blur(6px);
}

.language-level:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 25px rgba(var(--primary-rgb), 0.25);
    transform: scale(1.1);
}

.language-level:hover::after {
    opacity: 0.5;
}

.language-level span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.language-card h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.language-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* ============= Hero CTA Buttons ============= */
.hero-cta {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.35s var(--transition-smooth);
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border: none;
}

.hero-btn.primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(var(--primary-rgb), 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.hero-btn.secondary:hover {
    border-color: var(--accent-color);
    background: rgba(var(--accent-rgb), 0.1);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(var(--accent-rgb), 0.2);
}

/* ============= Hero Tagline - Overridden in _hero.css ============= */

/* ============= Section separator ============= */
.section-separator {
    text-align: center;
    padding: 1rem 0;
}

.section-separator i {
    color: var(--primary-color);
    opacity: 0.3;
    font-size: 0.5rem;
    margin: 0 0.25rem;
}

/* ============= Responsive Additions ============= */
@media screen and (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: 80%;
        justify-content: center;
    }

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

    .languages-grid {
        gap: 1.5rem;
    }

    .challenges-table {
        font-size: 0.8rem;
    }

    .challenges-table th,
    .challenges-table td {
        padding: 0.5rem;
    }
}