/* Portfolio Rheeda laingoniana - CSS Principal */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

/* Performance Optimization for Animations */
*,
*::before,
*::after {
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth Animation Base */
html {
    scroll-behavior: smooth;
}

/* Optimized Animation Performance for Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    background-color: #0A0A0A;
    color: #E0E0E0;
    line-height: 1.6;
    overflow-x: hidden;
    animation: body-fade-in 0.8s ease-out both;
}

h1, h2, h3, h4 {
    font-weight: 700;
    color: #FFFFFF;
}

/* Header - Modern Professional Navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.2rem 3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

header.scrolled {
    padding: 0.8rem 3rem;
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
    border-bottom-color: rgba(0, 212, 255, 0.2);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #00D4FF 0%, #0099CC 100%);
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Logo Redesign - Dynamic */
.logo {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, #FFFFFF 0%, #FFFFFF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
}

.logo-accent {
    background: linear-gradient(135deg, #00D4FF, #6366F1, #8B5CF6, #EC4899);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.8rem;
    animation: gradient-shift 3s ease infinite;
    display: inline-block;
}

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

.logo-subtitle {
    font-size: 0.65rem;
    color: #808080;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    position: relative;
    transition: all 0.4s ease;
}

.logo-subtitle::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #00D4FF, #8B5CF6, #EC4899);
    transition: width 0.4s ease;
}

.logo:hover .logo-text {
    background: linear-gradient(90deg, #00D4FF, #6366F1, #8B5CF6, #00D4FF);
    background-size: 200% auto;
    animation: text-shimmer 2s linear infinite;
}

@keyframes text-shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.logo:hover .logo-subtitle {
    color: #B0B0B0;
    letter-spacing: 3px;
}

.logo:hover .logo-subtitle::after {
    width: 100%;
}

.logo:hover .logo-accent {
    animation: gradient-shift 1s ease infinite, pulse-glow 1s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 2px rgba(139, 92, 246, 0.5)); }
    50% { filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.8)); }
}

/* Logo Scroll Animation - Elegant & Professional */
header.scrolled .logo {
    transform: translateX(0);
}

header.scrolled .logo-text {
    color: #FFFFFF;
    -webkit-text-fill-color: #FFFFFF;
    transform: scale(0.95);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled .logo-accent {
    transform: rotate(-5deg) scale(1.1);
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.4));
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled .logo-subtitle {
    opacity: 0.7;
    transform: translateX(2px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled .logo-subtitle::after {
    width: 30%;
    background: linear-gradient(90deg, #00D4FF, transparent);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    margin-left: 1.5rem;
    text-decoration: none;
    color: #B0B0B0;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.nav-text {
    position: relative;
    z-index: 1;
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00D4FF, #0099CC);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: #00D4FF;
    background: rgba(0, 212, 255, 0.05);
}

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

/* CTA Button for Contact */
.nav-link-cta {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 212, 255, 0.05) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    padding: 0.7rem 1.5rem;
    color: #00D4FF;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.nav-link-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.nav-link-cta:hover {
    background: linear-gradient(135deg, #00D4FF 0%, #0099CC 100%);
    color: #000000;
    border-color: #00D4FF;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

.nav-link-cta:hover svg {
    transform: translateX(3px);
}

.nav-link-cta .nav-indicator {
    display: none;
}

/* Hamburger Menu - Modern 3 Lines */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: #B0B0B0;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger:hover .hamburger-line {
    background: #00D4FF;
}

/* Hamburger Animation */
.nav-links.active ~ .hamburger .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background: #00D4FF;
}

.nav-links.active ~ .hamburger .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.nav-links.active ~ .hamburger .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background: #00D4FF;
}

/* ===== HERO SECTION - 3D INTERACTIVE ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    box-sizing: border-box;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 0%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
        linear-gradient(180deg, #030308 0%, #0a0a12 50%, #050510 100%);
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

/* Animated Grid Background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    opacity: 0.6;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(60px); }
}

/* Vignette Overlay */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
    pointer-events: none;
}

/* === NOISE TEXTURE === */
.hero-noise {
    position: absolute;
    inset: 0;
    z-index: 50;
    pointer-events: none;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    mix-blend-mode: soft-light;
}

/* === GRADIENT MESH BLOBS === */
.hero-mesh {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    filter: blur(80px);
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: screen;
}

.mesh-blob-1 {
    width: 60vw;
    height: 60vw;
    max-width: 800px;
    max-height: 800px;
    background: conic-gradient(from 180deg at 50% 50%,
        rgba(0, 212, 255, 0.4) 0deg,
        rgba(99, 102, 241, 0.3) 90deg,
        rgba(139, 92, 246, 0.35) 180deg,
        rgba(0, 212, 255, 0.4) 270deg,
        rgba(0, 212, 255, 0.4) 360deg);
    top: -20%;
    left: -10%;
    animation: mesh-morph-1 25s ease-in-out infinite;
}

.mesh-blob-2 {
    width: 50vw;
    height: 50vw;
    max-width: 600px;
    max-height: 600px;
    background: conic-gradient(from 90deg at 50% 50%,
        rgba(139, 92, 246, 0.35) 0deg,
        rgba(236, 72, 153, 0.25) 120deg,
        rgba(0, 212, 255, 0.3) 240deg,
        rgba(139, 92, 246, 0.35) 360deg);
    bottom: -15%;
    right: -10%;
    animation: mesh-morph-2 30s ease-in-out infinite;
}

.mesh-blob-3 {
    width: 40vw;
    height: 40vw;
    max-width: 500px;
    max-height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, rgba(99, 102, 241, 0.2) 50%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: mesh-morph-3 20s ease-in-out infinite;
}

@keyframes mesh-morph-1 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25% { transform: translate(50px, -30px) scale(1.1) rotate(90deg); border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    50% { transform: translate(20px, 50px) scale(0.95) rotate(180deg); border-radius: 50% 60% 30% 60% / 30% 40% 70% 50%; }
    75% { transform: translate(-30px, 20px) scale(1.05) rotate(270deg); border-radius: 40% 30% 60% 50% / 60% 50% 40% 30%; }
}

@keyframes mesh-morph-2 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%; }
    33% { transform: translate(-40px, 30px) scale(1.15) rotate(120deg); border-radius: 60% 40% 30% 70% / 40% 70% 30% 60%; }
    66% { transform: translate(30px, -40px) scale(0.9) rotate(240deg); border-radius: 30% 70% 50% 50% / 60% 40% 60% 40%; }
}

@keyframes mesh-morph-3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.4; }
}

/* === PARALLAX ORBS === */
.hero-orbs {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.7;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle,
        rgba(0, 212, 255, 0.6) 0%,
        rgba(99, 102, 241, 0.3) 50%,
        transparent 70%);
    top: 15%;
    left: 5%;
    animation: orb-float-1 20s ease-in-out infinite;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle,
        rgba(139, 92, 246, 0.5) 0%,
        rgba(236, 72, 153, 0.3) 50%,
        transparent 70%);
    top: 60%;
    right: 10%;
    animation: orb-float-2 25s ease-in-out infinite;
}

.orb-3 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle,
        rgba(0, 212, 255, 0.5) 0%,
        transparent 70%);
    bottom: 25%;
    left: 15%;
    animation: orb-float-3 18s ease-in-out infinite;
}

.orb-4 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle,
        rgba(99, 102, 241, 0.4) 0%,
        rgba(0, 212, 255, 0.2) 50%,
        transparent 70%);
    top: 25%;
    right: 20%;
    animation: orb-float-4 22s ease-in-out infinite;
}

.orb-5 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle,
        rgba(236, 72, 153, 0.4) 0%,
        rgba(139, 92, 246, 0.2) 50%,
        transparent 70%);
    top: 70%;
    left: 60%;
    animation: orb-float-5 28s ease-in-out infinite;
}

@keyframes orb-float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(40px, -30px) scale(1.1); }
    50% { transform: translate(80px, 20px) scale(0.9); }
    75% { transform: translate(30px, 40px) scale(1.05); }
}

@keyframes orb-float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-50px, 30px) scale(1.15); }
    66% { transform: translate(-30px, -40px) scale(0.85); }
}

@keyframes orb-float-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, -50px) scale(1.2); }
}

@keyframes orb-float-4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-70px, 50px) scale(1.15); }
}

@keyframes orb-float-5 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-30px, -40px) scale(1.1); }
    50% { transform: translate(20px, -60px) scale(0.95); }
    75% { transform: translate(40px, -20px) scale(1.08); }
}

/* === GEOMETRIC SHAPES === */
.hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.4;
}

.shape-ring {
    border: 2px solid;
    border-radius: 50%;
}

.shape-1 {
    width: 100px;
    height: 100px;
    border-color: rgba(0, 212, 255, 0.15);
    top: 20%;
    right: 18%;
    animation: shape-rotate 40s linear infinite, shape-float 10s ease-in-out infinite;
}

.shape-2 {
    width: 60px;
    height: 60px;
    border-color: rgba(139, 92, 246, 0.15);
    bottom: 35%;
    left: 12%;
    animation: shape-rotate 35s linear infinite reverse, shape-float 12s ease-in-out infinite;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid rgba(0, 212, 255, 0.2);
}

.shape-3 {
    top: 65%;
    right: 25%;
    animation: shape-float 12s ease-in-out infinite, shape-rotate 40s linear infinite;
}

.shape-cross {
    width: 40px;
    height: 40px;
    position: relative;
}

.shape-cross::before,
.shape-cross::after {
    content: '';
    position: absolute;
    background: rgba(236, 72, 153, 0.3);
}

.shape-cross::before {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.shape-cross::after {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.shape-4 {
    top: 35%;
    left: 8%;
    animation: shape-rotate 20s linear infinite, shape-float 7s ease-in-out infinite;
}

.shape-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.shape-5 {
    top: 45%;
    right: 8%;
    animation: shape-pulse 3s ease-in-out infinite;
}

.shape-6 {
    top: 75%;
    left: 30%;
    background: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    animation: shape-pulse 4s ease-in-out infinite 1s;
}

.shape-7 {
    top: 15%;
    left: 45%;
    background: rgba(236, 72, 153, 0.5);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
    animation: shape-pulse 3.5s ease-in-out infinite 0.5s;
}

.shape-8 {
    top: 55%;
    right: 12%;
    background: rgba(0, 212, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    animation: shape-pulse 4.5s ease-in-out infinite 2s;
}

@keyframes shape-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shape-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes shape-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 0.8; }
}

/* === LIGHT RAYS === */
.hero-rays {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.ray {
    position: absolute;
    background: linear-gradient(180deg,
        rgba(0, 212, 255, 0.1) 0%,
        rgba(0, 212, 255, 0.02) 50%,
        transparent 100%);
    transform-origin: top center;
}

.ray-1 {
    width: 300px;
    height: 100vh;
    top: 0;
    left: 20%;
    transform: rotate(-15deg);
    animation: ray-pulse 8s ease-in-out infinite;
}

.ray-2 {
    width: 200px;
    height: 100vh;
    top: 0;
    right: 25%;
    transform: rotate(10deg);
    background: linear-gradient(180deg,
        rgba(139, 92, 246, 0.08) 0%,
        rgba(139, 92, 246, 0.02) 50%,
        transparent 100%);
    animation: ray-pulse 10s ease-in-out infinite 2s;
}

.ray-3 {
    width: 150px;
    height: 100vh;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg,
        rgba(0, 212, 255, 0.06) 0%,
        transparent 60%);
    animation: ray-pulse 6s ease-in-out infinite 1s;
}

@keyframes ray-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* === PARTICLES === */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.hero-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 212, 255, 0.6);
    border-radius: 50%;
    animation: particle-float 15s linear infinite;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.hero-particles .particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 18s; }
.hero-particles .particle:nth-child(2) { left: 20%; top: 80%; animation-delay: 2s; animation-duration: 22s; background: rgba(139, 92, 246, 0.6); box-shadow: 0 0 10px rgba(139, 92, 246, 0.4); }
.hero-particles .particle:nth-child(3) { left: 30%; top: 40%; animation-delay: 4s; animation-duration: 16s; }
.hero-particles .particle:nth-child(4) { left: 40%; top: 60%; animation-delay: 1s; animation-duration: 20s; background: rgba(236, 72, 153, 0.6); box-shadow: 0 0 10px rgba(236, 72, 153, 0.4); }
.hero-particles .particle:nth-child(5) { left: 50%; top: 30%; animation-delay: 3s; animation-duration: 24s; }
.hero-particles .particle:nth-child(6) { left: 60%; top: 70%; animation-delay: 5s; animation-duration: 17s; background: rgba(139, 92, 246, 0.6); box-shadow: 0 0 10px rgba(139, 92, 246, 0.4); }
.hero-particles .particle:nth-child(7) { left: 70%; top: 25%; animation-delay: 2.5s; animation-duration: 21s; }
.hero-particles .particle:nth-child(8) { left: 80%; top: 50%; animation-delay: 1.5s; animation-duration: 19s; background: rgba(99, 102, 241, 0.6); box-shadow: 0 0 10px rgba(99, 102, 241, 0.4); }
.hero-particles .particle:nth-child(9) { left: 85%; top: 85%; animation-delay: 4.5s; animation-duration: 23s; }
.hero-particles .particle:nth-child(10) { left: 15%; top: 55%; animation-delay: 0.5s; animation-duration: 15s; background: rgba(236, 72, 153, 0.6); box-shadow: 0 0 10px rgba(236, 72, 153, 0.4); }
.hero-particles .particle:nth-child(11) { left: 90%; top: 15%; animation-delay: 3.5s; animation-duration: 20s; }
.hero-particles .particle:nth-child(12) { left: 5%; top: 90%; animation-delay: 2.2s; animation-duration: 18s; background: rgba(139, 92, 246, 0.6); box-shadow: 0 0 10px rgba(139, 92, 246, 0.4); }
.hero-particles .particle:nth-child(13) { left: 25%; top: 15%; animation-delay: 1.8s; animation-duration: 20s; width: 6px; height: 6px; }
.hero-particles .particle:nth-child(14) { left: 75%; top: 75%; animation-delay: 3.2s; animation-duration: 16s; background: rgba(99, 102, 241, 0.6); box-shadow: 0 0 10px rgba(99, 102, 241, 0.4); width: 5px; height: 5px; }
.hero-particles .particle:nth-child(15) { left: 45%; top: 85%; animation-delay: 0.8s; animation-duration: 22s; background: rgba(236, 72, 153, 0.6); box-shadow: 0 0 10px rgba(236, 72, 153, 0.4); }
.hero-particles .particle:nth-child(16) { left: 95%; top: 45%; animation-delay: 4.2s; animation-duration: 19s; width: 3px; height: 3px; }

@keyframes particle-float {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% { opacity: 0.8; }
    50% {
        transform: translateY(-200px) translateX(30px) scale(1.2);
        opacity: 0.6;
    }
    90% { opacity: 0.2; }
    100% {
        transform: translateY(-400px) translateX(-20px) scale(0.8);
        opacity: 0;
    }
}

/* === GEOMETRIC LINES === */
.hero-lines {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
}

.h-line, .v-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.15), transparent);
}

.h-line {
    height: 1px;
    width: 100%;
    animation: line-scan-h 8s ease-in-out infinite;
}

.h-line-1 { top: 25%; animation-delay: 0s; }
.h-line-2 { top: 75%; animation-delay: 4s; }

.v-line {
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.15), transparent);
    animation: line-scan-v 10s ease-in-out infinite;
}

.v-line-1 { left: 20%; animation-delay: 2s; }
.v-line-2 { left: 80%; animation-delay: 6s; }

@keyframes line-scan-h {
    0%, 100% { opacity: 0; transform: translateX(-100%); }
    50% { opacity: 1; transform: translateX(100%); }
}

@keyframes line-scan-v {
    0%, 100% { opacity: 0; transform: translateY(-100%); }
    50% { opacity: 1; transform: translateY(100%); }
}

/* === HERO CONTENT === */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    padding: 0.5rem 2rem;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(0, 212, 255, 0.12);
    border: 1px solid rgba(0, 212, 255, 0.35);
    border-radius: 50px;
    margin-bottom: 0.5rem;
    animation: badge-appear 0.8s ease-out 0.2s both;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.badge-dot {
    width: 10px;
    height: 10px;
    background: #4ADE80;
    border-radius: 50%;
    animation: badge-pulse 2s ease-in-out infinite;
    box-shadow: 0 0 12px rgba(74, 222, 128, 0.8);
}

@keyframes badge-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-badge span:last-child {
    font-size: 0.9rem;
    color: #E0E0E0;
    font-weight: 500;
    letter-spacing: 0.3px;
}

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

/* Title */
.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    overflow: hidden;
}

.word {
    display: inline-block;
    margin-right: 0.2em;
    animation: word-reveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
    position: relative;
}

.title-line .word:nth-child(1) { animation-delay: 0.3s; }
.title-line .word:nth-child(2) { animation-delay: 0.45s; }
.title-line .word:nth-child(3) { animation-delay: 0.6s; }
.title-line .word:nth-child(4) { animation-delay: 0.75s; }

@keyframes word-reveal {
    0% {
        opacity: 0;
        transform: translateY(100%) rotateX(-80deg);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
        filter: blur(0);
    }
}

.word.highlight {
    color: #00D4FF;
    position: relative;
}

.word.highlight::after {
    content: '';
    position: absolute;
    bottom: 0.08em;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        #00D4FF 15%,
        #00D4FF 85%,
        transparent 100%);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    animation: underline-grow 0.6s ease-out 1.5s forwards;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.6), 0 0 16px rgba(0, 212, 255, 0.3);
}

@keyframes underline-grow {
    to { transform: scaleX(1); }
}

/* Subtitle */
.hero-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #B0B0B0;
    margin-bottom: 0.5rem;
    animation: fade-up 0.8s ease-out 1s both;
    min-height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.typed-prefix {
    margin-right: 0.3em;
}

.typed-text {
    color: #00D4FF;
    font-weight: 600;
}

.typed-text::after {
    content: '|';
    color: #00D4FF;
    animation: cursor-blink 1s step-end infinite;
    margin-left: 2px;
}

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

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 0.5rem;
    animation: fade-up 0.8s ease-out 1.2s both;
}

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

.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: #FFFFFF;
    display: inline;
    background: linear-gradient(135deg, #FFFFFF 0%, #00D4FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-plus, .stat-percent {
    font-size: 1.2rem;
    font-weight: 700;
    color: #00D4FF;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: #808080;
    margin-top: 0.15rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.3), transparent);
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
    animation: fade-up 0.8s ease-out 1.4s both;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #EC4899 100%);
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.cta-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
}

.cta-primary svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.cta-primary:hover svg {
    transform: translateX(4px);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
}

.cta-secondary:hover {
    border-color: #00D4FF;
    color: #00D4FF;
    background: rgba(0, 212, 255, 0.05);
}

/* Social Links */
.social-links-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    animation: fade-up 0.8s ease-out 1.6s both;
}

.social-links-hero a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #B0B0B0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links-hero a svg {
    width: 22px;
    height: 22px;
    transition: all 0.3s ease;
}

.social-links-hero a svg path {
    fill: #B0B0B0;
    transition: fill 0.3s ease, stroke 0.3s ease;
}

/* Email icon uses stroke instead of fill */
.social-links-hero a:last-child svg path {
    fill: none;
    stroke: #B0B0B0;
    stroke-width: 2;
}

.social-links-hero a:hover svg path {
    fill: #00D4FF;
}

.social-links-hero a:last-child:hover svg path {
    fill: none;
    stroke: #00D4FF;
}

.social-links-hero a:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.4);
    color: #00D4FF;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
    animation: fade-up 0.8s ease-out 2s both;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: #00D4FF;
    border-radius: 2px;
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.3; }
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: #808080;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Hero Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: clamp(2.2rem, 7vw, 4rem);
    }

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

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0.5rem 1rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
    }

    .title-line {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.1em;
    }

    .word {
        margin-right: 0.15em;
    }

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

    .hero-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .hero-badge span:last-child {
        font-size: 0.8rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.2rem;
    }

    .stat-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.8rem;
    }

    .cta-primary, .cta-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 0.9rem 1.5rem;
    }

    .orb-1 { width: 200px; height: 200px; }
    .orb-2 { width: 150px; height: 150px; }
    .orb-3 { width: 120px; height: 120px; }
    .orb-4 { width: 180px; height: 180px; }
    .orb-5 { width: 100px; height: 100px; }

    .mesh-blob-1 { width: 50vw; height: 50vw; }
    .mesh-blob-2 { width: 40vw; height: 40vw; }
    .mesh-blob-3 { width: 30vw; height: 30vw; }

    .shape-1, .shape-2 { display: none; }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0.5rem 0.8rem;
    }

    .hero-title {
        font-size: clamp(1.5rem, 9vw, 2.2rem);
    }

    .hero-subtitle {
        font-size: 0.9rem;
        min-height: 2.5rem;
    }

    .hero-badge {
        padding: 0.4rem 0.8rem;
    }

    .hero-badge span:last-child {
        font-size: 0.7rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-plus, .stat-percent {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .cta-primary, .cta-secondary {
        max-width: 240px;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .social-links-hero {
        gap: 0.6rem;
    }

    .social-links-hero a {
        width: 38px;
        height: 38px;
    }

    .scroll-indicator {
        display: none;
    }

    .orb-1 { width: 150px; height: 150px; }
    .orb-2 { width: 120px; height: 120px; }
    .orb-3 { width: 100px; height: 100px; }
    .orb-4, .orb-5 { display: none; }

    .hero-particles .particle { width: 3px; height: 3px; }
}

/* Viewport Height Media Queries - Pour zoom élevé */
@media (max-height: 800px) {
    .hero {
        padding-top: 70px;
    }

    .hero-content {
        padding: 0.3rem 1.5rem;
    }

    .hero-badge {
        margin-bottom: 0.3rem;
        padding: 0.3rem 0.8rem;
    }

    .hero-badge span:last-child {
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 4vw, 2.8rem);
        margin-bottom: 0.3rem;
    }

    .hero-subtitle {
        margin-bottom: 0.3rem;
        font-size: 0.95rem;
    }

    .hero-stats {
        margin-bottom: 0.3rem;
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .hero-cta {
        margin-bottom: 0.3rem;
    }

    .cta-primary, .cta-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (max-height: 700px) {
    .hero {
        padding-top: 60px;
        align-items: flex-start;
        padding-bottom: 20px;
    }

    .hero-content {
        padding: 0.2rem 1rem;
    }

    .hero-badge {
        margin-bottom: 0.2rem;
        padding: 0.25rem 0.6rem;
    }

    .hero-badge span:last-child {
        font-size: 0.75rem;
    }

    .hero-title {
        font-size: clamp(1.5rem, 3.5vw, 2.2rem);
        margin-bottom: 0.2rem;
    }

    .hero-subtitle {
        margin-bottom: 0.2rem;
        font-size: 0.85rem;
    }

    .hero-stats {
        margin-bottom: 0.2rem;
        gap: 0.8rem;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .hero-cta {
        margin-bottom: 0.2rem;
        gap: 0.5rem;
    }

    .cta-primary, .cta-secondary {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .social-links-hero a {
        width: 32px;
        height: 32px;
    }
}

@media (max-height: 600px) {
    .hero {
        padding-top: 55px;
        min-height: auto;
        height: 100vh;
    }

    .hero-badge {
        padding: 0.2rem 0.5rem;
    }

    .hero-badge span:last-child {
        font-size: 0.7rem;
    }

    .hero-title {
        font-size: clamp(1.3rem, 3vw, 1.8rem);
    }

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

    .stat-number {
        font-size: 1.2rem;
    }

    .cta-primary, .cta-secondary {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }
}

/* Enhanced typed-text animation */
.typed-text {
    position: relative;
    color: #00D4FF;
}

.typed-text::after {
    content: '|';
    color: #00D4FF;
    animation: blink 1s infinite;
    margin-left: 2px;
}

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

/* Floating background elements */
.hero .floating-element {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(0, 212, 255, 0.4);
    border-radius: 50%;
    animation: float-gentle 6s ease-in-out infinite;
}

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

.hero .floating-element:nth-child(2) {
    top: 70%;
    left: 80%;
    animation-delay: 2s;
}

@keyframes float-gentle {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-15px) translateX(5px);
        opacity: 0.7;
    }
}

@keyframes grid-shift-slow {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.3;
    }
    50% {
        transform: translate(5px, 3px);
        opacity: 0.5;
    }
}

@keyframes profile-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes fade-slide-right {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes line-grow {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 50px;
        opacity: 1;
    }
}

@keyframes service-fade-in {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes tool-fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes case-fade-in {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95) rotateX(10deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

@keyframes form-slide-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes simple-fade-in {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes path-draw {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    100% {
        transform: scaleX(1);
        opacity: 1;
    }
}

@keyframes card-float-in {
    0% {
        opacity: 0;
        transform: translateY(30px) rotateX(15deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

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

@keyframes terminal-line-appear {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes designer-slide-in {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cert-float-in {
    0% {
        opacity: 0;
        transform: translateY(30px) rotateY(-10deg) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateY(0deg) scale(1);
    }
}

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

@keyframes footer-fade-in {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes footer-text-slide {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes footer-links-slide {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes footer-button-slide {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes body-fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Enhanced Performance with Hardware Acceleration */
.hero, .about, .services, .tools, .skills, .timeline,
.certifications, .case-studies, .contact, footer {
    transform: translateZ(0);
    will-change: transform, opacity;
}

.timeline-item, .service-card, .tool-card, .skill-card, .certification-item,
.case-card, .social-links a, .back-to-top {
    transform: translateZ(0);
    will-change: transform, opacity, box-shadow;
}

.hero-content h1 {
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    line-height: 1.1;
    color: #ffffff;
    position: relative;
    opacity: 1;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}


@keyframes elegant-fade-in {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero-content h1 span {
    display: inline-block;
}

.hero-content p {
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 0 1rem;
    line-height: 1.5;
    font-weight: 300;
    opacity: 1;
}

.typed-text {
    font-weight: 500;
    color: #00D4FF;
    min-width: 300px;
    display: inline-block;
    position: relative;
}

.typed-text::after {
    content: '|';
    position: absolute;
    right: -10px;
    color: #00D4FF;
    animation: simple-blink 1s infinite;
}

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

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    .hero::before,
    .hero::after,
    .hero-content::before,
    .hero-content::after,
    .hero-content h1 span {
        animation: none !important;
    }

    .hero-content h1 span {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

/* Duplicate removed - social-links-hero already defined above */

/* Premium Floating Elements */
.hero-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 300px 100px at 30% 20%, rgba(0, 212, 255, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse 200px 150px at 70% 80%, rgba(0, 212, 255, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse 250px 80px at 90% 30%, rgba(255, 255, 255, 0.015) 0%, transparent 50%);
    animation: ethereal-flow 15s ease-in-out infinite;
    z-index: -2;
    filter: blur(1px);
}

@keyframes ethereal-flow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }
    33% {
        transform: translate(15px, -10px) scale(1.1);
        opacity: 0.9;
    }
    66% {
        transform: translate(-10px, 15px) scale(0.95);
        opacity: 0.8;
    }
}


/* About Section - Enhanced */
.about {
    padding: 10rem 3rem;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 50%),
        linear-gradient(120deg, rgba(13, 13, 13, 0.4) 0%, #0a0a0e 50%, rgba(26, 26, 26, 0.2) 100%);
    position: relative;
    backdrop-filter: blur(10px);
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.01) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: grid-shift-slow 30s ease-in-out infinite;
    opacity: 0.3;
    z-index: 1;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about .profile-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    min-width: 350px;
}

.about .profile-wrapper::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #00D4FF,
        #6366F1,
        #8B5CF6,
        #EC4899,
        #8B5CF6,
        #6366F1,
        #00D4FF
    );
    animation: profile-border-spin 4s linear infinite;
    z-index: 1;
}

.about .profile-wrapper::after {
    content: '';
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    background: conic-gradient(
        from 180deg,
        transparent,
        rgba(0, 212, 255, 0.3),
        transparent,
        rgba(139, 92, 246, 0.3),
        transparent,
        rgba(236, 72, 153, 0.3),
        transparent
    );
    animation: profile-glow-spin 6s linear infinite reverse;
    filter: blur(20px);
    z-index: 0;
}

.about .profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    animation: profile-float 4s ease-in-out infinite;
    box-shadow:
        0 10px 40px rgba(139, 92, 246, 0.2),
        0 0 60px rgba(0, 212, 255, 0.1);
}

.about .profile-wrapper:hover .profile-img {
    transform: scale(1.03);
}

.about .profile-wrapper:hover::before {
    animation-duration: 2s;
}

.about .profile-wrapper:hover::after {
    filter: blur(25px);
    opacity: 1.2;
}

@keyframes profile-border-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes profile-glow-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.about-content {
    flex: 1;
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.about h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 2.5rem;
    position: relative;
    animation: fade-slide-right 1s ease-out both;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: #FFFFFF;
}

.about h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00D4FF 0%, #0099CC 100%);
    bottom: -12px;
    left: 0;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.about h2:hover::after {
    width: 120px;
}

.about p {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    color: #C5C5C5;
    margin-bottom: 1.8rem;
    line-height: 1.9;
    font-weight: 400;
    text-align: justify;
}

/* Services Section - Modern Card Design */
.services {
    padding: 10rem 3rem;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, #0A0A0A 0%, #0d0d12 50%, #121212 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.015) 1px, transparent 1px);
    background-size: 90px 90px;
    animation: grid-shift-slow 30s ease-in-out infinite;
    opacity: 0.4;
    z-index: 1;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.services-header {
    text-align: center;
    margin-bottom: 5rem;
}

.services-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 700;
    color: #FFFFFF !important;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    opacity: 1 !important;
    z-index: 10;
}

.services-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #6366F1 0%, #8B5CF6 50%, #EC4899 100%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.services-subtitle {
    font-size: 1.1rem;
    color: #808080;
    max-width: 700px;
    margin: 2rem auto 0;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 0 1rem;
}

/* Service Card */
.service-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.4), transparent 50%);
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

/* Different colors for each service card */
.service-card:nth-child(1)::before { background: linear-gradient(135deg, rgba(0, 212, 255, 0.4), transparent 50%); }
.service-card:nth-child(2)::before { background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), transparent 50%); }
.service-card:nth-child(3)::before { background: linear-gradient(135deg, rgba(236, 72, 153, 0.4), transparent 50%); }
.service-card:nth-child(4)::before { background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), transparent 50%); }

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

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(25, 25, 25, 0.8);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(139, 92, 246, 0.15);
}

.service-card:nth-child(1):hover { border-color: rgba(0, 212, 255, 0.3); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 212, 255, 0.15); }
.service-card:nth-child(2):hover { border-color: rgba(139, 92, 246, 0.3); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(139, 92, 246, 0.15); }
.service-card:nth-child(3):hover { border-color: rgba(236, 72, 153, 0.3); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(236, 72, 153, 0.15); }
.service-card:nth-child(4):hover { border-color: rgba(99, 102, 241, 0.3); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(99, 102, 241, 0.15); }

/* Service Number */
.service-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(0, 212, 255, 0.05);
    line-height: 1;
    transition: all 0.4s ease;
    pointer-events: none;
}

.service-card:hover .service-number {
    color: rgba(0, 212, 255, 0.15);
    transform: scale(1.1);
}

/* Service Icon */
.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    color: #00D4FF;
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-icon svg {
    transform: scale(1.2) rotate(-10deg);
}

.service-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.5;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon-bg {
    width: 120%;
    height: 120%;
    opacity: 1;
}

/* Service Content */
.service-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-content h3 {
    color: #00D4FF;
}

.service-content p {
    font-size: 1rem;
    color: #B0B0B0;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Service Features */
.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: #909090;
    transition: all 0.3s ease;
}

.feature-item svg {
    width: 16px;
    height: 16px;
    color: #00D4FF;
    flex-shrink: 0;
}

.service-card:hover .feature-item {
    color: #B0B0B0;
    transform: translateX(5px);
}

/* Service Tags */
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-tag {
    padding: 0.4rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    color: #B0B0B0;
    transition: all 0.3s ease;
}

.service-card:hover .service-tag {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.4);
    color: #00D4FF;
    transform: translateY(-2px);
}

/* Tools Section - Enhanced */
/* Tools Section - Modern Card Design */
.tools {
    padding: 10rem 3rem;
    background:
        radial-gradient(ellipse at 70% 30%, rgba(0, 212, 255, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, #0A0A0A 0%, #0c0c10 50%, #121212 100%);
    position: relative;
    overflow: hidden;
}

.tools::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: grid-shift-slow 30s ease-in-out infinite;
    opacity: 0.4;
    z-index: 1;
}

.tools-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.tools-header {
    text-align: center;
    margin-bottom: 5rem;
}

.tools-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 700;
    color: #FFFFFF !important;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    opacity: 1 !important;
    z-index: 10;
}

.tools-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #00D4FF 0%, #6366F1 50%, #8B5CF6 100%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.tools-subtitle {
    font-size: 1.1rem;
    color: #808080;
    max-width: 700px;
    margin: 2rem auto 0;
    line-height: 1.8;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    padding: 0 1rem;
}

/* Tool Card */
.tool-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

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

.tool-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(25, 25, 25, 0.8);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 212, 255, 0.15);
}

/* Tool Card Header */
.tool-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.tool-icon-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-icon-wrapper img {
    width: 60px;
    height: 60px;
    position: relative;
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tool-card:hover .tool-icon-wrapper img {
    transform: scale(1.1) rotate(5deg);
}

.tool-icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 50%;
}

.tool-card:hover .tool-icon-glow {
    opacity: 1;
    width: 100px;
    height: 100px;
}

/* Tool Category Badge */
.tool-category {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.tool-category.design {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2) 0%, rgba(147, 51, 234, 0.1) 100%);
    color: #A78BFA;
    border: 1px solid rgba(147, 51, 234, 0.3);
}

.tool-category.development {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 212, 255, 0.1) 100%);
    color: #00D4FF;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.tool-category.database {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
    color: #4ADE80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.tool-category.devops {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.2) 0%, rgba(251, 146, 60, 0.1) 100%);
    color: #FB923C;
    border: 1px solid rgba(251, 146, 60, 0.3);
}

.tool-card:hover .tool-category {
    transform: scale(1.05);
}

/* Tool Card Body */
.tool-card-body {
    margin-bottom: 1.5rem;
}

.tool-card-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.tool-card:hover .tool-card-body h3 {
    color: #00D4FF;
}

.tool-card-body p {
    font-size: 0.95rem;
    color: #808080;
    line-height: 1.6;
}

/* Tool Card Stats */
.tool-card-stats {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tool-stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #606060;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.stat-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.stat-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #00D4FF 0%, #0099CC 100%);
    border-radius: 10px;
    position: relative;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.tool-card:hover .stat-fill {
    width: var(--stat-width) !important;
}

.stat-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
    animation: shimmer 2s infinite;
}

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

/* Skills Section - Modern Card Design */
.skills {
    padding: 10rem 3rem;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(236, 72, 153, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(99, 102, 241, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, #121212 0%, #0a0a10 50%, #0A0A0A 100%);
    position: relative;
    overflow: hidden;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.015) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: grid-shift-slow 35s ease-in-out infinite;
    opacity: 0.5;
    z-index: 1;
}

.skills-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.skills-header {
    text-align: center;
    margin-bottom: 5rem;
}

.skills-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 700;
    color: #FFFFFF !important;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    opacity: 1 !important;
    z-index: 10;
}

.skills-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #EC4899 0%, #8B5CF6 50%, #6366F1 100%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.4);
}

.skills-subtitle {
    font-size: 1.1rem;
    color: #808080;
    max-width: 700px;
    margin: 2rem auto 0;
    line-height: 1.8;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    padding: 0 1rem;
}

.skills-grid .ia-card-wide {
    grid-column: span 2;
}

@media (max-width: 900px) {
    .skills-grid .ia-card-wide {
        grid-column: auto;
    }
}

/* Skill Card */
.skill-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(0, 212, 255, 0) 50%);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

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

.skill-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.3);
    background: rgba(25, 25, 25, 0.8);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 212, 255, 0.1);
}

/* Skill Card Icon */
.skill-card-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-card-icon img {
    width: 60px;
    height: 60px;
    position: relative;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.skill-card:hover .skill-card-icon img {
    transform: scale(1.15) rotate(-5deg);
}

.skill-icon-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.skill-card:hover .skill-icon-ring {
    width: 110%;
    height: 110%;
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Skill Card Header */
.skill-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.skill-card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFFFFF;
    transition: color 0.3s ease;
}

.skill-card:hover .skill-card-header h3 {
    color: #00D4FF;
}

/* Skill Level Badge */
.skill-level {
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.skill-level.expert {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 212, 255, 0.1) 100%);
    color: #00D4FF;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.skill-level.advanced {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
    color: #4ADE80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.skill-level.intermediate {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.2) 0%, rgba(251, 146, 60, 0.1) 100%);
    color: #FB923C;
    border: 1px solid rgba(251, 146, 60, 0.3);
}

.skill-card:hover .skill-level {
    transform: scale(1.05);
}

/* Skill Description */
.skill-description {
    font-size: 0.95rem;
    color: #808080;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Skill Tags */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.skill-tag {
    padding: 0.4rem 0.8rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    color: #B0B0B0;
    transition: all 0.3s ease;
}

.skill-card:hover .skill-tag {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.4);
    color: #00D4FF;
    transform: translateY(-2px);
}

/* Skill Progress */
.skill-progress {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.skill-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.skill-name {
    font-size: 0.9rem;
    color: #B0B0B0;
    font-weight: 600;
}

.skill-percentage {
    font-size: 1.1rem;
    color: #00D4FF;
    font-weight: 700;
}

.skill-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #00D4FF 0%, #0099CC 50%, #00D4FF 100%);
    background-size: 200% 100%;
    border-radius: 10px;
    position: relative;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    animation: progress-shimmer 2s infinite;
}

@keyframes progress-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skill-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

/* Timeline Section - Enhanced */
/* ========================================
   TIMELINE SECTION - Modern Vertical Design
   ======================================== */

.timeline {
    padding: 10rem 3rem;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(236, 72, 153, 0.04) 0%, transparent 50%),
        linear-gradient(135deg, rgba(13, 13, 13, 0.3) 0%, #0a0a0f 50%, rgba(26, 26, 26, 0.15) 100%);
    position: relative;
    overflow: hidden;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.01) 1px, transparent 1px);
    background-size: 85px 85px;
    animation: grid-shift-slow 30s ease-in-out infinite;
    opacity: 0.4;
    z-index: 1;
}

/* Timeline Section Container */
.timeline-section-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Timeline Header */
.timeline-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.timeline-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #C5C5C5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    color: #FFFFFF !important;
    opacity: 1 !important;
    z-index: 10;
    position: relative;
}

.timeline-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, #00D4FF 0%, #8B5CF6 50%, #EC4899 100%);
    border-radius: 2px;
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.35);
}

.timeline-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: #A0A0A0;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.timeline-subtitle.subtitle-spaced {
    margin-top: 1.6rem;
}

/* Timeline Wrapper - Contains the vertical line and items */
.timeline-wrapper {
    position: relative;
    padding: 2rem 0;
}

/* Vertical Timeline Line */
.timeline-line {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0, 212, 255, 0.3) 10%,
        rgba(0, 212, 255, 0.5) 50%,
        rgba(0, 212, 255, 0.3) 90%,
        transparent 100%
    );
    border-radius: 2px;
}

/* Timeline Item */
.timeline-item {
    position: relative;
    padding-left: 90px;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateX(-30px);
}

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

/* Timeline Dot - Connection point to line */
.timeline-dot {
    position: absolute;
    left: 17px;
    top: 8px;
    width: 30px;
    height: 30px;
    background: rgba(20, 20, 20, 0.9);
    border: 3px solid #00D4FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-dot-inner {
    width: 10px;
    height: 10px;
    background: #00D4FF;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

.timeline-item:hover .timeline-dot-inner {
    background: #FFFFFF;
}

/* Timeline Content Card */
.timeline-content {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(0, 212, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateX(5px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
}

.timeline-item:hover .timeline-content::before {
    opacity: 1;
}

/* Timeline Badge - Education or Experience */
.timeline-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.timeline-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.timeline-badge.education {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 212, 255, 0.1));
    color: #00D4FF;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.timeline-badge.experience {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    color: #22C55E;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Timeline Date */
.timeline-date {
    font-size: 0.95rem;
    color: #A0A0A0;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Timeline Title */
.timeline-content h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    color: #FFFFFF;
    font-weight: 700;
    margin: 0.5rem 0 1rem 0;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

/* Timeline Location */
.timeline-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #00D4FF;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.timeline-location svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Timeline Description */
.timeline-content p {
    color: #C5C5C5;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Timeline Skills Tags */
.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-skill {
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #E0E0E0;
    transition: all 0.3s ease;
    cursor: default;
}

.timeline-skill:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    color: #00D4FF;
    transform: translateY(-2px);
}


/* ========================================
   CERTIFICATIONS SECTION - Modern Card Design
   ======================================== */

.certifications {
    padding: 10rem 3rem;
    background:
        radial-gradient(ellipse at 80% 30%, rgba(0, 212, 255, 0.04) 0%, transparent 50%),
        linear-gradient(135deg, rgba(13, 13, 13, 0.3) 0%, rgba(26, 26, 26, 0.15) 100%);
    position: relative;
    overflow: hidden;
}

.certifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.01) 1px, transparent 1px);
    background-size: 130px 130px;
    animation: grid-shift-slow 40s ease-in-out infinite;
    opacity: 0.4;
    z-index: 1;
}

/* Certifications Container */
.certifications-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Certifications Header */
.certifications-header {
    text-align: center;
    margin-bottom: 5rem;
}

.certifications-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #C5C5C5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    color: #FFFFFF !important;
    opacity: 1 !important;
    z-index: 10;
    position: relative;
}

.certifications-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, #00D4FF 0%, #8B5CF6 50%, #EC4899 100%);
    border-radius: 2px;
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.35);
}

.certifications-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: #A0A0A0;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.certifications-subtitle.subtitle-spaced {
    margin-top: 1.6rem;
}

/* Certifications Grid */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    position: relative;
}

/* Certification Card */
.certification-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.certification-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(0, 212, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certification-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

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

/* Certification Badge */
.certification-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: fit-content;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 212, 255, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    position: relative;
    z-index: 2;
}

.certification-badge svg {
    width: 24px;
    height: 24px;
    color: #00D4FF;
}

.badge-level {
    font-size: 1rem;
    font-weight: 700;
    color: #00D4FF;
    letter-spacing: 1px;
}

/* Certification Content */
.certification-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

/* Certification Header */
.certification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.certification-header h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    color: #FFFFFF;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.3;
    flex: 1;
}

.certification-year {
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 0.9rem;
    color: #A0A0A0;
    font-weight: 600;
    white-space: nowrap;
}

/* Certification Organization */
.certification-org {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #00D4FF;
    font-size: 0.95rem;
    font-weight: 600;
}

.certification-org svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Certification Description */
.certification-description {
    color: #C5C5C5;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* Certification Skills */
.certification-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cert-skill {
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #E0E0E0;
    transition: all 0.3s ease;
}

.cert-skill:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    color: #00D4FF;
    transform: translateY(-2px);
}

/* Certification Verified Badge */
.certification-verified {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #22C55E;
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.certification-verified svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ========================================
   CASE STUDIES SECTION - Modern Portfolio Design
   ======================================== */

.case-studies {
    padding: 10rem 3rem;
    background:
        radial-gradient(ellipse at 40% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 212, 255, 0.04) 0%, transparent 50%),
        linear-gradient(135deg, rgba(13, 13, 13, 0.3) 0%, #0a0a0e 50%, rgba(26, 26, 26, 0.15) 100%);
    position: relative;
    overflow: hidden;
}

.case-studies::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.01) 1px, transparent 1px);
    background-size: 90px 90px;
    animation: grid-shift-slow 35s ease-in-out infinite;
    opacity: 0.4;
    z-index: 1;
}

/* Case Studies Container */
.case-studies-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Case Studies Header */
.case-studies-header {
    text-align: center;
    margin-bottom: 5rem;
}

.case-studies-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #C5C5C5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    color: #FFFFFF !important;
    opacity: 1 !important;
    z-index: 10;
    position: relative;
}

.case-studies-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, #00D4FF 0%, #8B5CF6 50%, #EC4899 100%);
    border-radius: 2px;
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.35);
}

.case-studies-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: #A0A0A0;
    max-width: 700px;
    margin: 1.6rem auto 0;
    line-height: 1.6;
}

/* IA Intro block */
.ia-intro {
    max-width: 980px;
    margin: 2rem auto 2.5rem;
    padding: 2rem 2.2rem;
    background: rgba(18, 18, 18, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    text-align: left;
}

.ia-intro p {
    color: #C5C5C5;
    line-height: 1.8;
    margin-bottom: 1.4rem;
}

.ia-intro strong {
    color: #FFFFFF;
}

.ia-intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.2rem;
    margin: 1.4rem 0 1.2rem;
}

.ia-intro-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 16px;
    padding: 1.2rem 1.4rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ia-intro-card h4 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
    color: #FFFFFF;
}

.ia-intro-card p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
}

.ia-intro-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, 0.35);
    box-shadow: 0 16px 35px rgba(0, 212, 255, 0.2);
}

.ia-intro-note {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .ia-intro {
        padding: 1.6rem;
    }
}

/* Case Grid */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    position: relative;
}

/* Case Card */
.case-card {
    background: rgba(20, 20, 20, 0.6);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.case-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.25);
}

/* Case Category Tag - Minimal */
.case-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.case-category.design-cat {
    background: rgba(147, 51, 234, 0.85);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.case-category.dev-cat {
    background: rgba(0, 212, 255, 0.85);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.case-card:hover .case-category {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Case Card Image */
.case-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Case Card Overlay */
.case-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 20%, rgba(0, 0, 0, 0.95) 100%);
    padding: 2rem;
    transform: translateY(calc(100% - 80px));
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.case-card:hover .case-card-overlay {
    transform: translateY(0);
}

/* Case Card Content */
.case-card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.case-card-content h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    color: #FFFFFF;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.case-card-content p {
    color: #C5C5C5;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
}

.case-card:hover .case-card-content p {
    opacity: 1;
    transform: translateY(0);
}

/* Case Card Tags */
.case-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.2s;
}

.case-card:hover .case-card-tags {
    opacity: 1;
    transform: translateY(0);
}

.case-tag {
    padding: 0.4rem 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #E0E0E0;
    transition: all 0.3s ease;
}

.case-tag:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.4);
    color: #00D4FF;
}

/* Project Link */
.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #00D4FF;
    font-weight: 600;
    font-size: 1rem;
    margin-top: auto;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.3s;
}

.project-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.case-card:hover .project-link {
    opacity: 1;
    transform: translateY(0);
}

.case-card:hover .project-link svg {
    transform: translateX(5px);
}

/* CTA Card - "Votre projet ici" */
.case-card-cta {
    background: linear-gradient(135deg,
        rgba(99, 102, 241, 0.1) 0%,
        rgba(139, 92, 246, 0.1) 50%,
        rgba(236, 72, 153, 0.1) 100%);
    border: 2px dashed rgba(139, 92, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card-cta:hover {
    border-color: rgba(139, 92, 246, 0.6);
    background: linear-gradient(135deg,
        rgba(99, 102, 241, 0.15) 0%,
        rgba(139, 92, 246, 0.15) 50%,
        rgba(236, 72, 153, 0.15) 100%);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.cta-card-content {
    text-align: center;
    padding: 2rem;
}

.cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(236, 72, 153, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.cta-icon svg {
    width: 36px;
    height: 36px;
    stroke: #8B5CF6;
    transition: all 0.4s ease;
}

.case-card-cta:hover .cta-icon {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(236, 72, 153, 0.3));
    transform: scale(1.1);
}

.case-card-cta:hover .cta-icon svg {
    stroke: #EC4899;
    transform: rotate(90deg);
}

.cta-card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #6366F1, #8B5CF6, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-card-content p {
    font-size: 1rem;
    color: #A0A0A0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.cta-card-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #EC4899 100%);
    border-radius: 50px;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.cta-card-button svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.case-card-cta:hover .cta-card-button {
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.case-card-cta:hover .cta-card-button svg {
    transform: translateX(4px);
}

/* Contact Section - Modern Professional Design */
.contact {
    padding: 10rem 3rem;
    position: relative;
    background:
        radial-gradient(ellipse at 30% 0%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 100%, rgba(236, 72, 153, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, #0A0A0A 0%, #0a0a10 50%, #121212 100%);
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: grid-shift-slow 30s ease-in-out infinite;
    opacity: 0.4;
    z-index: 1;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-header {
    text-align: center;
    margin-bottom: 5rem;
}

.contact-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    color: #FFFFFF !important;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    position: relative;
    z-index: 10;
    opacity: 1 !important;
    display: block;
}

.contact-header h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #6366F1 0%, #EC4899 100%);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.contact-subtitle {
    color: #B0B0B0;
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

/* Contact Info Cards */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.08) 0%, transparent 70%),
        rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

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

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

.contact-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 212, 255, 0.05) 100%);
    border-radius: 16px;
    position: relative;
    transition: all 0.4s ease;
}

.contact-card:hover .contact-card-icon {
    transform: rotate(10deg) scale(1.1);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3) 0%, rgba(0, 212, 255, 0.1) 100%);
}

.contact-card-icon svg {
    width: 28px;
    height: 28px;
    color: #00D4FF;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-card-icon svg {
    transform: scale(1.2);
}

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

.contact-card-content h3 {
    font-size: 1rem;
    color: #B0B0B0;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.contact-card-content a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-card-content a:hover {
    color: #00D4FF;
    transform: translateX(5px);
}

.contact-card-content p {
    color: #FFFFFF;
    margin: 0;
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    font-weight: 600;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

#contact-form {
    background:
        radial-gradient(circle at 10% 10%, rgba(0, 212, 255, 0.06) 0%, transparent 50%),
        rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 2;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
}

.form-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.2px;
}

.label-required {
    color: #00D4FF;
    font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.3rem 1.5rem;
    background: rgba(15, 15, 15, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #00D4FF;
    outline: none;
    background: rgba(15, 15, 15, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.25);
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: rgba(255, 255, 255, 0.6);
    transform: translateX(5px);
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00D4FF, #0099CC);
    transition: width 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.form-group input:focus ~ .input-border,
.form-group textarea:focus ~ .input-border,
.form-group select:focus ~ .input-border {
    width: 100%;
}

.form-group select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.6) 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.6) 50%, transparent 50%);
    background-position: calc(100% - 22px) calc(50% - 2px), calc(100% - 16px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select:invalid {
    color: rgba(255, 255, 255, 0.4);
}

.form-group select option {
    color: #FFFFFF;
    background: #0f0f0f;
}

.form-group select option[value=""] {
    color: rgba(255, 255, 255, 0.4);
}

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

.form-group textarea {
    min-height: 160px;
    resize: vertical;
    max-height: 300px;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #00D4FF 0%, #0099CC 100%);
    border: none;
    border-radius: 12px;
    color: #000000;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.submit-btn.is-loading {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

.submit-btn .btn-icon.spin {
    animation: submit-spin 1s linear infinite;
}

@keyframes submit-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.submit-btn::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;
}

.submit-btn:hover::before {
    width: 400px;
    height: 400px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.5);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.btn-icon {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.btn-icon svg {
    width: 20px;
    height: 20px;
}

.submit-btn:hover .btn-icon {
    transform: translateX(5px) rotate(45deg);
}

/* Form Decoration Particles */
.form-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.form-decoration .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #00D4FF;
    border-radius: 50%;
    opacity: 0.4;
    animation: float-particle 6s ease-in-out infinite;
}

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

.form-decoration .particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.form-decoration .particle:nth-child(3) {
    top: 80%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.8;
    }
}

/* Contact Footer */
.contact-footer {
    text-align: center;
    margin-top: 4rem;
}

.resume-download {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.3rem 2.5rem;
    background: rgba(26, 26, 26, 0.6);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    color: #00D4FF;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

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

.resume-download svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.resume-download:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #00D4FF 0%, #0099CC 100%);
    color: #000000;
    border-color: #00D4FF;
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.resume-download:hover svg {
    transform: translateY(3px);
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 12px;
    display: none;
    font-size: 1rem;
    text-align: center;
}

.form-status.success {
    display: block;
    background-color: rgba(0, 255, 0, 0.1);
    color: #00ff99;
    border: 1px solid #00ff99;
}

.form-status.error {
    display: block;
    background-color: rgba(255, 0, 0, 0.1);
    color: #ff4d4d;
    border: 1px solid #ff4d4d;
}

/* Image Quality Optimization */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}

.gallery-item img,
.project-image-wrapper img {
    image-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Project Breadcrumb - Enhanced Design */
.project-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    width: fit-content;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.project-breadcrumb:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.1);
}

.project-breadcrumb a {
    color: #00D4FF;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.project-breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00D4FF, #0099CC);
    transition: width 0.3s ease;
}

.project-breadcrumb a:hover {
    color: #00E5FF;
}

.project-breadcrumb a:hover::after {
    width: 100%;
}

.project-breadcrumb span {
    color: #808080;
}

.project-breadcrumb span:last-child {
    color: #FFFFFF;
    font-weight: 500;
}

/* Footer - Modern Professional Design */
footer {
    background: linear-gradient(180deg, #0A0A0A 0%, #050505 100%);
    color: #B0B0B0;
    padding: 5rem 3rem 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: grid-shift-slow 40s ease-in-out infinite;
    opacity: 0.3;
    z-index: 1;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

/* Footer Brand */
.footer-brand {
    max-width: 350px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.footer-tagline {
    color: #00D4FF;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-description {
    color: #808080;
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer Links */
.footer-links h4,
.footer-contact h4 {
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #00D4FF, transparent);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #808080;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #00D4FF;
}

.footer-links a:hover {
    color: #00D4FF;
    transform: translateX(10px);
}

.footer-links a:hover::before {
    opacity: 1;
    left: -15px;
}

/* Footer Contact */
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    color: #00D4FF;
    flex-shrink: 0;
}

.footer-contact a,
.footer-contact span {
    color: #808080;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: #00D4FF;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 3rem;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    margin-bottom: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-copyright {
    color: #00D4FF;
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #808080;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 212, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.social-icon:hover::before {
    width: 100%;
    height: 100%;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.social-icon:hover svg {
    color: #00D4FF;
    transform: scale(1.1);
}

/* Back to Top Button */
.back-to-top {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 212, 255, 0.05) 100%);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    color: #00D4FF;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.back-to-top:hover::before {
    width: 100%;
    height: 100%;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #00D4FF 0%, #0099CC 100%);
    border-color: #00D4FF;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

.back-to-top:hover svg {
    color: #000000;
    transform: translateY(-3px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    opacity: 0;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

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

.modal-content {
    background: #1A1A1A;
    padding: 2.5rem 2rem 2rem 2rem;
    border-radius: 15px;
    max-width: 400px;
    width: 90vw;
    margin: auto;
    position: relative;
    transform: translateY(-30px) scale(0.98);
    transition: transform 0.3s cubic-bezier(.23,1.02,.32,1);
    border: 2px solid #00D4FF;
    box-shadow: 0 0 32px rgba(0, 212, 255, 0.25);
    text-align: center;
}

.modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-content h3 {
    color: #00D4FF;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.modal-content p {
    color: #B0B0B0;
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #B0B0B0;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #00D4FF;
}

.modal-icon {
    text-align: center;
    font-size: 3rem;
    color: #00D4FF;
    margin-bottom: 1rem;
}

/* Accessibility Styles */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

a:focus, button:focus, input:focus, textarea:focus, .case-card:focus {
    outline: 2px solid #00D4FF;
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #00D4FF;
    color: #0A0A0A;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

/* Performance Optimizations */
img {
    height: auto;
    width: auto;
}

.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

.hero-content h1 span,
.case-card,
.skill-card,
.tool-card,
.service-card {
    will-change: transform;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact form {
        max-width: 98vw;
        padding: 1.2rem 0.5rem;
    }

    header nav {
        padding: 1.2rem 2rem;
    }

    .logo-text {
        font-size: 1.6rem;
    }

    .logo-subtitle {
        font-size: 0.65rem;
    }

    .nav-link {
        padding: 0.5rem 0.8rem;
        font-size: 0.95rem;
    }

    .nav-link-cta {
        padding: 0.5rem 1.2rem;
    }

    .hero-content h1 {
        font-size: 4.5rem;
    }

    .hero-content p {
        font-size: 1.4rem;
    }

    .social-links-hero a {
        width: 44px;
        height: 44px;
    }

    .about {
        padding: 10rem 3rem;
    }

    .about-container {
        gap: 3rem;
    }

    .about .profile-wrapper {
        width: 280px;
        height: 280px;
        min-width: 280px;
    }

    .about h2 {
        font-size: 2.8rem;
    }

    .about p {
        font-size: 1.1rem;
    }

    .services, .tools, .skills, .timeline, .certifications, .case-studies, .contact {
        padding: 10rem 3rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2.5rem;
    }

    .service-card {
        padding: 2rem;
    }

    .service-content h3 {
        font-size: 1.6rem;
    }

    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }

    .timeline-wrapper {
        padding: 1.5rem 0;
    }

    .timeline-line {
        left: 25px;
    }

    .timeline-item {
        padding-left: 80px;
        margin-bottom: 3rem;
    }

    .timeline-dot {
        left: 12px;
        width: 28px;
        height: 28px;
    }

    .timeline-content {
        padding: 1.8rem;
    }

    .timeline-content h3 {
        font-size: 1.4rem;
    }

    .case-studies {
        border-radius: 20px;
    }

    .services-grid, .tools-grid, .certifications-grid, .case-grid {
        gap: 2rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .skill-card {
        padding: 1.5rem;
    }

    .skill-card-header h3 {
        font-size: 1.3rem;
    }

    .skill-tag {
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
    }

    .case-card img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .hero::before {
        animation: none;
    }

    header nav {
        padding: 1rem 1.5rem;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .logo-subtitle {
        font-size: 0.6rem;
        margin-top: 0.15rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        padding: 2rem 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        border-top: 1px solid rgba(0, 212, 255, 0.2);
        z-index: 999;
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 1rem 1.5rem;
        margin: 0;
        border-radius: 8px;
        justify-content: space-between;
    }

    .nav-link .nav-indicator {
        display: none;
    }

    .nav-link.active {
        background: rgba(0, 212, 255, 0.1);
        border-left: 3px solid #00D4FF;
        border-radius: 0 8px 8px 0;
    }

    .nav-link-cta {
        margin-top: 1rem;
        justify-content: center;
        background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 212, 255, 0.1) 100%);
        border: 2px solid rgba(0, 212, 255, 0.4);
    }

    .nav-link-cta svg {
        width: 16px;
        height: 16px;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }

    .hamburger.active .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .social-links-hero {
        flex-direction: row;
        gap: 0.8rem;
    }

    .social-links-hero a {
        width: 40px;
        height: 40px;
    }

    .about {
        padding: 6rem 1.5rem;
    }

    .about-container {
        flex-direction: column;
        gap: 2rem;
    }

    .about .profile-wrapper {
        width: 200px;
        height: 200px;
        min-width: 200px;
    }

    .about h2 {
        font-size: 2.2rem;
    }

    .about p {
        font-size: 1rem;
    }

    .services, .tools, .skills, .timeline, .certifications, .case-studies, .contact {
        padding: 6rem 1.5rem;
    }

    .timeline-header {
        margin-bottom: 3rem;
    }

    .timeline-wrapper {
        padding: 1rem 0;
    }

    .timeline-line {
        left: 20px;
        width: 2px;
    }

    .timeline-item {
        padding-left: 65px;
        margin-bottom: 2.5rem;
    }

    .timeline-dot {
        left: 9px;
        width: 24px;
        height: 24px;
        border-width: 2px;
    }

    .timeline-dot-inner {
        width: 8px;
        height: 8px;
    }

    .timeline-content {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .timeline-content h3 {
        font-size: 1.3rem;
    }

    .timeline-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .timeline-badge svg {
        width: 14px;
        height: 14px;
    }

    .timeline-location {
        font-size: 0.9rem;
    }

    .timeline-location svg {
        width: 14px;
        height: 14px;
    }

    .timeline-skill {
        padding: 0.35rem 0.8rem;
        font-size: 0.8rem;
    }

    .case-studies {
        border-radius: 15px;
    }

    .services-grid, .tools-grid, .skills-grid, .certifications-grid, .case-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }

    .service-card {
        padding: 2rem;
    }

    .service-number {
        font-size: 4rem;
    }

    .service-content h3 {
        font-size: 1.5rem;
    }

    .certification-card {
        padding: 2rem;
        gap: 1.2rem;
    }

    .certification-badge {
        padding: 0.6rem 1.2rem;
    }

    .certification-badge svg {
        width: 20px;
        height: 20px;
    }

    .certification-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .certification-header h3 {
        font-size: 1.3rem;
    }

    .cert-skill {
        padding: 0.35rem 0.8rem;
        font-size: 0.8rem;
    }

    .case-studies-header {
        margin-bottom: 3rem;
    }

    .case-studies-header h2 {
        font-size: 2.2rem;
    }

    .case-studies-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .case-category {
        top: 0.8rem;
        right: 0.8rem;
        padding: 0.35rem 0.75rem;
        font-size: 0.7rem;
    }

    .case-card img {
        height: 280px;
    }

    .case-card-overlay {
        padding: 1.5rem;
        transform: translateY(calc(100% - 70px));
    }

    .case-card-content h3 {
        font-size: 1.3rem;
    }

    .case-tag {
        padding: 0.35rem 0.8rem;
        font-size: 0.8rem;
    }

    .tools-header h2 {
        font-size: 2.2rem;
    }

    .tools-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .tool-card {
        padding: 1.5rem;
    }

    .tool-card-header {
        flex-direction: row;
        align-items: center;
    }

    .tool-icon-wrapper img {
        width: 50px;
        height: 50px;
    }

    .tool-card-body h3 {
        font-size: 1.2rem;
    }

    .skills-header h2 {
        font-size: 2.2rem;
    }

    .skills-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

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

    .skill-card {
        padding: 1.5rem;
    }

    .skill-card-icon {
        width: 70px;
        height: 70px;
    }

    .skill-card-icon img {
        width: 50px;
        height: 50px;
    }

    .skill-card-header h3 {
        font-size: 1.2rem;
    }

    .skill-description {
        font-size: 0.9rem;
    }

    .timeline-item {
        padding: 1.5rem;
    }

    .timeline-item h3 {
        font-size: 1.6rem;
    }

    .timeline-item p {
        font-size: 1rem;
    }

    /* Case Studies Mobile Styles */
    .case-studies-header {
        margin-bottom: 2rem;
    }

    .case-studies-header h2 {
        font-size: 1.8rem;
    }

    .case-studies-subtitle {
        font-size: 0.9rem;
        padding: 0 1rem;
    }

    .case-card {
        margin-bottom: 1.5rem;
    }

    .case-category {
        top: 0.6rem;
        right: 0.6rem;
        padding: 0.3rem 0.6rem;
        font-size: 0.65rem;
    }

    .case-card img {
        height: 200px;
    }

    .case-card-overlay {
        padding: 1.2rem;
        transform: translateY(calc(100% - 60px));
    }

    .case-card-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .case-card-content p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }

    .case-card-tags {
        gap: 0.4rem;
        margin-bottom: 0.8rem;
    }

    .case-tag {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }

    .project-link {
        font-size: 0.85rem;
        gap: 0.4rem;
    }

    .project-link svg {
        width: 16px;
        height: 16px;
    }

    .contact form {
        gap: 1.2rem;
    }

    .contact input,
    .contact textarea,
    .contact button,
    .resume-download {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .social-links {
        flex-direction: column;
        gap: 1.2rem;
    }

    .social-links a {
        font-size: 1.4rem;
        padding: 0.3rem 0.6rem;
    }

    .services-header h2,
    .tools-header h2,
    .skills-header h2,
    .certifications-header h2 {
        font-size: 1.8rem;
    }

    .services-subtitle,
    .tools-subtitle,
    .skills-subtitle,
    .certifications-subtitle {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
}

@media (max-width: 1024px) {
    .contact {
        padding: 8rem 2rem;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    #contact-form {
        padding: 2.5rem 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 6rem 1.5rem;
    }

    .contact-header {
        margin-bottom: 3rem;
    }

    .contact-header h2 {
        font-size: 2.5rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }

    #contact-form {
        padding: 2rem 1.5rem;
    }

    .submit-btn {
        padding: 1.3rem 1.5rem;
        font-size: 1rem;
    }

    .resume-download {
        padding: 1.1rem 2rem;
        font-size: 1rem;
    }

    footer {
        padding: 4rem 2rem 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 3rem;
    }

    .footer-brand {
        grid-column: 1;
    }

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

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .contact {
        padding: 4rem 1rem;
    }

    .contact-header h2 {
        font-size: 2rem;
    }

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

    .contact-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .contact-card-content {
        text-align: center;
    }

    #contact-form {
        padding: 1.5rem 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }

    .submit-btn {
        padding: 1.2rem;
        font-size: 0.95rem;
        letter-spacing: 1px;
    }

    .resume-download {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    header nav {
        padding: 0.9rem 1rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-subtitle {
        font-size: 0.55rem;
        margin-top: 0.1rem;
    }

    .nav-links {
        padding: 1.5rem 1rem;
        top: 60px;
    }

    .nav-link {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }

    .nav-link-cta {
        padding: 0.9rem 1.5rem;
    }

    .hamburger {
        width: 32px;
        height: 32px;
    }

    .hamburger-line {
        width: 22px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .social-links-hero a {
        width: 36px;
        height: 36px;
    }

    .social-links-hero a svg {
        width: 18px;
        height: 18px;
    }

    .about {
        padding: 4rem 1rem;
    }

    .about .profile-wrapper {
        width: 160px;
        height: 160px;
        min-width: 160px;
    }

    .about .profile-wrapper::before {
        inset: -3px;
    }

    .about .profile-wrapper::after {
        inset: -10px;
        filter: blur(15px);
    }

    .about h2 {
        font-size: 1.8rem;
    }

    .about p {
        font-size: 0.9rem;
        text-align: left;
    }

    .timeline-header {
        margin-bottom: 2rem;
    }

    .timeline-header h2 {
        font-size: 2rem;
    }

    .timeline-subtitle {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .timeline-wrapper {
        padding: 0.5rem 0;
    }

    .timeline-line {
        left: 15px;
        width: 2px;
    }

    .timeline-item {
        padding-left: 55px;
        margin-bottom: 2rem;
    }

    .timeline-dot {
        left: 6px;
        width: 20px;
        height: 20px;
        border-width: 2px;
    }

    .timeline-dot-inner {
        width: 6px;
        height: 6px;
    }

    .timeline-content {
        padding: 1.2rem;
        border-radius: 12px;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    .timeline-content p {
        font-size: 0.9rem;
    }

    .timeline-badge {
        padding: 0.35rem 0.7rem;
        font-size: 0.75rem;
    }

    .timeline-badge svg {
        width: 12px;
        height: 12px;
    }

    .timeline-date {
        font-size: 0.85rem;
    }

    .timeline-location {
        font-size: 0.85rem;
    }

    .timeline-location svg {
        width: 12px;
        height: 12px;
    }

    .timeline-skill {
        padding: 0.3rem 0.7rem;
        font-size: 0.75rem;
    }

    .certifications-header {
        margin-bottom: 3rem;
    }

    .certifications-header h2 {
        font-size: 2rem;
    }

    .certifications-subtitle {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .certifications-grid {
        gap: 2rem;
    }

    .certification-card {
        padding: 1.5rem;
        gap: 1rem;
    }

    .certification-badge {
        padding: 0.5rem 1rem;
    }

    .certification-badge svg {
        width: 18px;
        height: 18px;
    }

    .badge-level {
        font-size: 0.9rem;
    }

    .certification-header h3 {
        font-size: 1.2rem;
    }

    .certification-year {
        font-size: 0.85rem;
        padding: 0.3rem 0.8rem;
    }

    .certification-org {
        font-size: 0.85rem;
    }

    .certification-description {
        font-size: 0.9rem;
    }

    .cert-skill {
        padding: 0.3rem 0.7rem;
        font-size: 0.75rem;
    }

    .case-studies {
        border-radius: 12px;
        padding: 4rem 1rem;
    }

    .services h2,
    .tools h2,
    .skills h2,
    .timeline h2,
    .certifications h2,
    .case-studies h2,
    .contact h2 {
        font-size: 2rem;
    }

    .services-header h2 {
        font-size: 2rem;
    }

    .services-subtitle {
        font-size: 0.95rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-number {
        font-size: 3rem;
        top: 1.5rem;
        right: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .service-icon svg {
        width: 32px;
        height: 32px;
    }

    .service-content h3 {
        font-size: 1.3rem;
    }

    .service-content p {
        font-size: 0.9rem;
    }

    .feature-item {
        font-size: 0.85rem;
    }

    .service-tag {
        font-size: 0.75rem;
        padding: 0.35rem 0.8rem;
    }

    .certification-item h3,
    .case-card h3 {
        font-size: 1.4rem;
    }

    .certification-item p,
    .case-card p {
        font-size: 0.9rem;
    }

    .tools-header h2 {
        font-size: 2rem;
    }

    .tools-subtitle {
        font-size: 0.95rem;
    }

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

    .tool-card {
        padding: 1.3rem;
    }

    .tool-icon-wrapper img {
        width: 45px;
        height: 45px;
    }

    .tool-card-body h3 {
        font-size: 1.1rem;
    }

    .tool-card-body p {
        font-size: 0.9rem;
    }

    .skills-header h2 {
        font-size: 2rem;
    }

    .skills-subtitle {
        font-size: 0.95rem;
    }

    .skill-card {
        padding: 1.3rem;
    }

    .skill-card-icon {
        width: 60px;
        height: 60px;
    }

    .skill-card-icon img {
        width: 45px;
        height: 45px;
    }

    .skill-card-header h3 {
        font-size: 1.1rem;
    }

    .skill-level {
        font-size: 0.65rem;
        padding: 0.25rem 0.6rem;
    }

    .skill-description {
        font-size: 0.85rem;
    }

    .skill-tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .case-card img {
        height: 150px;
    }

    .contact p {
        font-size: 1rem;
    }

    footer p {
        font-size: 1rem;
    }

    .back-to-top {
        font-size: 0.9rem;
    }
}

/* Très petits écrans (smartphones compacts) */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .about h2,
    .services-header h2,
    .tools-header h2,
    .skills-header h2,
    .timeline-header h2,
    .certifications-header h2,
    .case-studies-header h2,
    .contact-header h2 {
        font-size: 1.6rem;
    }

    .services, .tools, .skills, .timeline, .certifications, .case-studies, .contact {
        padding: 4rem 0.8rem;
    }

    .about {
        padding: 3rem 0.8rem;
    }

    .service-card,
    .tool-card,
    .skill-card,
    .certification-card {
        padding: 1.2rem;
    }

    .timeline-content {
        padding: 1rem;
    }

    .case-card-overlay {
        padding: 1rem;
    }

    .contact-card {
        padding: 1.2rem;
    }

    #contact-form {
        padding: 1.5rem 1rem;
    }

    .service-number {
        font-size: 2.5rem;
    }

    .service-content h3 {
        font-size: 1.2rem;
    }

    .case-category {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.6rem;
    }
}

/* Préférence utilisateur pour réduire les animations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero::before {
        animation: none;
    }
}

.ia-intro{
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(8px);
}

.ia-intro p{
  margin: 0 0 12px;
  line-height: 1.7;
  opacity: .95;
}

.ia-intro-note{
  margin-top: 14px;
  opacity: 0.9;
  font-style: italic;
}
