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

:root {

    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-card: #1e1e1e;
    --bg-form: rgba(30, 30, 30, 0.8);
    

    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #888888;
    

    --accent-primary: #ffffff;
    --accent-secondary: #666666;
    --accent-light: #e0e0e0;
    

    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.2);
}


body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}


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


.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 1.5rem;
}

.profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-primary);
}

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

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--accent-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}


.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 6rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-intro {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

.hero-text h2 {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.4;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-profile {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--accent-primary);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.hero-profile:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 60px rgba(255, 255, 255, 0.15);
}


.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}


.projects {
    padding: 8rem 0;
    background: var(--bg-secondary);
}


.timeline {
    padding: 6rem 0;
    background: var(--bg-primary);
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.timeline-container {
    max-width: 1000px;
    position: relative;
    z-index: 2;
    padding: 2rem;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    margin: 0 auto;
    width: 100%;
}

.timeline-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    border: 2px solid rgba(128, 128, 128, 0.3);
    box-shadow: var(--shadow-lg);
    position: absolute;
    width: 100%;
    max-width: 550px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(0) scale(1);
    opacity: 0;
    pointer-events: none;
    filter: blur(0px);
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.timeline-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: all;
    z-index: 10;
    filter: blur(0px);
    border-radius: 16px !important;
    border: 2px solid rgba(128, 128, 128, 0.3) !important;
    -webkit-border-radius: 16px !important;
    -moz-border-radius: 16px !important;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.timeline-card.prev {
    opacity: 0.85;
    transform: translateX(-120px) scale(0.9);
    pointer-events: none;
    z-index: 5;
    filter: blur(0.3px);
    border-radius: var(--border-radius-lg);
    border: 2px solid rgba(128, 128, 128, 0.3);
}

.timeline-card.next {
    opacity: 0.85;
    transform: translateX(120px) scale(0.9);
    pointer-events: none;
    z-index: 5;
    filter: blur(0.3px);
    border-radius: var(--border-radius-lg);
    border: 2px solid rgba(128, 128, 128, 0.3);
}

.timeline-card.hidden-left {
    opacity: 0;
    transform: translateX(-250px) scale(0.7);
    pointer-events: none;
    z-index: 1;
    filter: blur(1px);
    border-radius: var(--border-radius-lg);
    border: 2px solid rgba(128, 128, 128, 0.3);
}

.timeline-card.hidden-right {
    opacity: 0;
    transform: translateX(250px) scale(0.7);
    pointer-events: none;
    z-index: 1;
    filter: blur(1px);
    border-radius: var(--border-radius-lg);
    border: 2px solid rgba(128, 128, 128, 0.3);
}

.timeline-card:hover {
    transform: translateY(-3px) scale(1.01);
    border-color: rgba(128, 128, 128, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border-radius: var(--border-radius-lg);
}

.timeline-date {
    display: inline-block;
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    white-space: nowrap;
    overflow: visible;
}

.timeline-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    transition: var(--transition);
}

.timeline-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    transition: var(--transition);
}

.timeline-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.timeline-tags .tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.timeline-tags .tag:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.timeline-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border: 2px solid var(--accent-primary);
    background: transparent;
    color: var(--text-primary);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-btn:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: var(--text-muted);
}

.nav-btn:disabled:hover {
    background: transparent;
    color: var(--text-muted);
    transform: none;
    box-shadow: none;
}

.nav-btn i {
    font-size: 1.1rem;
    transition: var(--transition);
}

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

.timeline-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    position: absolute;
    bottom: -3rem;
    left: 50%;
    transform: translateX(-50%);
}

.progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.progress-dot.active {
    background: var(--accent-primary);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.3);
}

.progress-dot:hover {
    background: var(--accent-primary);
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.5);
}


@media (min-width: 1200px) {
    .timeline-container {
        max-width: 1100px;
        height: 750px;
        margin: 0 auto;
        width: 100%;
    }
    
    .timeline-card {
        max-width: 600px;
        padding: 3rem;
        min-height: 400px;
    }
    
    .timeline-card.prev {
        transform: translateX(-140px) scale(0.92);
    }
    
    .timeline-card.next {
        transform: translateX(140px) scale(0.92);
    }
    
    .timeline-container [class*="timeline-card"] {
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
        border: 2px solid rgba(128, 128, 128, 0.3) !important;
    }
}

@media (max-width: 1199px) and (min-width: 1024px) {
    .timeline-container {
        max-width: 900px;
        height: 650px;
        padding: 1.5rem;
        margin: 0 auto;
        width: 100%;
    }
    
    .timeline-card {
        max-width: 550px;
        padding: 2.5rem;
        min-height: 380px;
    }
    
    .timeline-card.prev {
        transform: translateX(-100px) scale(0.88);
        opacity: 0.8;
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card.next {
        transform: translateX(100px) scale(0.88);
        opacity: 0.8;
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card.hidden-left {
        transform: translateX(-200px) scale(0.68);
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card.hidden-right {
        transform: translateX(200px) scale(0.68);
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card h3 {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }
    
    .timeline-card p {
        font-size: 1.05rem;
        line-height: 1.7;
    }
    
    .timeline-date {
        font-size: 1rem;
        padding: 0.45rem 1.3rem;
        margin-bottom: 0.875rem;
    }
    
    .nav-btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
        gap: 0.625rem;
    }
    
    .timeline-container [class*="timeline-card"] {
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
        border: 2px solid rgba(128, 128, 128, 0.3) !important;
    }
}

@media (max-width: 1023px) and (min-width: 900px) {
    .timeline-container {
        max-width: 800px;
        height: 600px;
        padding: 1.25rem;
        margin: 0 auto;
        width: 100%;
    }
    
    .timeline-card {
        max-width: 500px;
        padding: 2rem;
        min-height: 350px;
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
        border: 2px solid rgba(128, 128, 128, 0.3) !important;
    }
    
    .timeline-card.prev {
        transform: translateX(-85px) scale(0.85);
        opacity: 0.75;
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card.next {
        transform: translateX(85px) scale(0.85);
        opacity: 0.75;
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card.hidden-left {
        transform: translateX(-180px) scale(0.65);
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card.hidden-right {
        transform: translateX(180px) scale(0.65);
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .timeline-card p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.75rem;
    }
    
    .timeline-date {
        font-size: 0.95rem;
        padding: 0.4rem 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .nav-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        gap: 0.5rem;
    }
    
    .timeline-navigation {
        gap: 1rem;
        margin-top: 1.75rem;
        padding-top: 1.75rem;
    }
    
    .progress-dot {
        width: 8px;
        height: 8px;
    }
    
    .timeline-progress {
        bottom: -2.5rem;
        gap: 0.5rem;
    }
    
    .timeline-container [class*="timeline-card"] {
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
        border: 2px solid rgba(128, 128, 128, 0.3) !important;
    }
}

@media (max-width: 767px) and (min-width: 600px) {
    .timeline-container {
        padding: 0.875rem;
        height: 550px;
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
    }
    
    .timeline-card {
        padding: 1.75rem;
        min-height: 320px;
        max-width: 450px;
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
        border: 2px solid rgba(128, 128, 128, 0.3) !important;
    }
    
    .timeline-card.prev {
        transform: translateX(-70px) scale(0.8);
        opacity: 0.75;
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card.next {
        transform: translateX(70px) scale(0.8);
        opacity: 0.75;
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card.hidden-left {
        transform: translateX(-150px) scale(0.6);
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card.hidden-right {
        transform: translateX(150px) scale(0.6);
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card h3 {
        font-size: 1.35rem;
        margin-bottom: 0.875rem;
    }
    
    .timeline-card p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .timeline-date {
        font-size: 0.9rem;
        padding: 0.35rem 1rem;
        margin-bottom: 0.625rem;
    }
    
    .nav-btn {
        padding: 0.625rem 1.125rem;
        font-size: 0.85rem;
        gap: 0.375rem;
    }
    
    .timeline-navigation {
        gap: 0.875rem;
        margin-top: 1.75rem;
        padding-top: 1.75rem;
    }
    
    .progress-dot {
        width: 7px;
        height: 7px;
    }
    
    .timeline-progress {
        bottom: -2.25rem;
        gap: 0.375rem;
    }
    
    .timeline-container [class*="timeline-card"] {
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
        border: 2px solid rgba(128, 128, 128, 0.3) !important;
    }
}

@media (max-width: 599px) and (min-width: 480px) {
    .timeline-container {
        padding: 0.75rem;
        height: 480px;
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
        overflow: hidden;
    }
    
    .timeline-card {
        padding: 1.5rem;
        min-height: 320px;
        max-width: 380px;
        margin: 0 auto;
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
        border: 2px solid rgba(128, 128, 128, 0.3) !important;
    }
    
    .timeline-card.prev {
        transform: translateX(-55px) scale(0.8);
        opacity: 0.75;
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card.next {
        transform: translateX(55px) scale(0.8);
        opacity: 0.75;
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card.hidden-left {
        transform: translateX(-125px) scale(0.6);
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card.hidden-right {
        transform: translateX(125px) scale(0.6);
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .timeline-card p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }
    
    .timeline-date {
        font-size: 0.85rem;
        padding: 0.3rem 0.875rem;
        margin-bottom: 0.5rem;
    }
    
    .nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        gap: 0.25rem;
    }
    
    .timeline-navigation {
        gap: 0.75rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .progress-dot {
        width: 6px;
        height: 6px;
    }
    
    .timeline-progress {
        bottom: -2rem;
        gap: 0.25rem;
    }
    
    .timeline-container [class*="timeline-card"] {
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
        border: 2px solid rgba(128, 128, 128, 0.3) !important;
    }
}

@media (max-width: 479px) and (min-width: 400px) {
    .timeline-container {
        padding: 0.5rem;
        height: 430px;
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
        overflow: hidden;
    }
    
    .timeline-card {
        padding: 1.25rem;
        min-height: 290px;
        max-width: 340px;
        margin: 0 auto;
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
        border: 2px solid rgba(128, 128, 128, 0.3) !important;
    }
    
    .timeline-card.prev {
        transform: translateX(-45px) scale(0.78);
        opacity: 0.72;
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card.next {
        transform: translateX(45px) scale(0.78);
        opacity: 0.72;
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card.hidden-left {
        transform: translateX(-110px) scale(0.58);
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card.hidden-right {
        transform: translateX(110px) scale(0.58);
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.625rem;
        line-height: 1.3;
    }
    
    .timeline-card p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .timeline-date {
        font-size: 0.8rem;
        padding: 0.25rem 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .nav-btn {
        padding: 0.375rem 0.875rem;
        font-size: 0.75rem;
        gap: 0.25rem;
    }
    
    .nav-btn i {
        font-size: 0.8rem;
    }
    
    .timeline-tags {
        gap: 0.375rem;
        margin-bottom: 1rem;
    }
    
    .timeline-tags .tag {
        padding: 0.25rem 0.625rem;
        font-size: 0.75rem;
    }
    
    .timeline-navigation {
        margin-top: 1rem;
        padding-top: 1rem;
        gap: 0.5rem;
    }
    
    .progress-dot {
        width: 5px;
        height: 5px;
    }
    
    .progress-dot.active {
        transform: scale(1.1);
    }
    
    .timeline-progress {
        bottom: -1.75rem;
        gap: 0.25rem;
    }
    
    .timeline-container [class*="timeline-card"] {
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
        border: 2px solid rgba(128, 128, 128, 0.3) !important;
    }
}

@media (max-width: 399px) {
    .timeline-container {
        height: 400px;
        padding: 0.25rem;
        margin: 0 auto;
        width: 100%;
    }
    
    .timeline-card {
        padding: 1rem;
        min-height: 250px;
        max-width: 300px;
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
        border: 2px solid rgba(128, 128, 128, 0.3) !important;
    }
    
    .timeline-card.prev {
        transform: translateX(-40px) scale(0.75);
        opacity: 0.7;
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card.next {
        transform: translateX(40px) scale(0.75);
        opacity: 0.7;
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card.hidden-left {
        transform: translateX(-80px) scale(0.55);
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card.hidden-right {
        transform: translateX(80px) scale(0.55);
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }
    
    .timeline-card p {
        font-size: 0.8rem;
        margin-bottom: 0.875rem;
        line-height: 1.4;
    }
    
    .timeline-date {
        font-size: 0.75rem;
        padding: 0.2rem 0.625rem;
        margin-bottom: 0.375rem;
    }
    
    .nav-btn {
        padding: 0.25rem 0.75rem;
        font-size: 0.7rem;
        gap: 0.125rem;
    }
    
    .nav-btn i {
        font-size: 0.7rem;
    }
    
    .timeline-tags {
        gap: 0.25rem;
        margin-bottom: 0.875rem;
    }
    
    .timeline-tags .tag {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .timeline-navigation {
        margin-top: 0.875rem;
        padding-top: 0.875rem;
        gap: 0.375rem;
    }
    
    .progress-dot {
        width: 4px;
        height: 4px;
    }
    
    .progress-dot.active {
        transform: scale(1.05);
    }
    
    .timeline-progress {
        bottom: -1.5rem;
        gap: 0.125rem;
    }
    
    .timeline-container [class*="timeline-card"] {
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
        border: 2px solid rgba(128, 128, 128, 0.3) !important;
    }
}

.timeline-card,
.timeline-card.active,
.timeline-card.prev,
.timeline-card.next,
.timeline-card.hidden-left,
.timeline-card.hidden-right {
    border-radius: var(--border-radius-lg) !important;
    border: 2px solid rgba(128, 128, 128, 0.3) !important;
    -webkit-border-radius: var(--border-radius-lg) !important;
    -moz-border-radius: var(--border-radius-lg) !important;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.timeline .timeline-container .timeline-card,
.timeline .timeline-container .timeline-card.active,
.timeline .timeline-container .timeline-card.prev,
.timeline .timeline-container .timeline-card.next,
.timeline .timeline-container .timeline-card.hidden-left,
.timeline .timeline-container .timeline-card.hidden-right {
    border-radius: 16px !important;
    border: 2px solid rgba(128, 128, 128, 0.3) !important;
    -webkit-border-radius: 16px !important;
    -moz-border-radius: 16px !important;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

@media screen {
    .timeline-card,
    .timeline-card.active,
    .timeline-card.prev,
    .timeline-card.next,
    .timeline-card.hidden-left,
    .timeline-card.hidden-right {
        border-radius: 16px !important;
        border: 2px solid rgba(128, 128, 128, 0.3) !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
}

.timeline-container [class*="timeline-card"] {
    border-radius: 16px !important;
    border: 2px solid rgba(128, 128, 128, 0.3) !important;
    -webkit-border-radius: 16px !important;
    -moz-border-radius: 16px !important;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

[class*="timeline-card"] {
    border-radius: 16px !important;
    border: 2px solid rgba(128, 128, 128, 0.3) !important;
    -webkit-border-radius: 16px !important;
    -moz-border-radius: 16px !important;
}

.timeline * {
    border-radius: 16px !important;
    -webkit-border-radius: 16px !important;
    -moz-border-radius: 16px !important;
}

[data-card] {
    border-radius: 16px !important;
    border: 2px solid rgba(128, 128, 128, 0.3) !important;
    -webkit-border-radius: 16px !important;
    -moz-border-radius: 16px !important;
}

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

.project-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    height: 400px;
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.project-image {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.project-image i {
    font-size: 1.75rem;
    color: var(--bg-primary);
}

.project-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--accent-secondary);
    color: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}

.tag:hover {
    background: var(--accent-primary);
    transform: translateY(-2px);
}

.contact {
    padding: 8rem 0;
    background: var(--bg-primary);
}

.contact-form-container {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.community-section {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.community-content {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
}

.community-text h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.community-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.community-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-form {
    background: var(--bg-form);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

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

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.footer {
    background: var(--bg-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 1.5rem;
}

.footer-profile {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-primary);
}

.footer-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .hero-content {
        gap: 4rem;
    }
    
    .hero-text h1 {
        font-size: 4rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .timeline {
        padding: 5rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        justify-items: center;
    }
    
    .hero-text {
        text-align: center;
        align-items: center;
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 1rem;
    }
    
    .hero-text h1 {
        font-size: 3rem;
        text-align: center;
        margin-top: 1rem;
    }
    
    .animated-title {
        justify-content: center;
        text-align: center;
    }
    
    .letter {
        text-align: center;
    }
    
    .hero-text h2 {
        text-align: center;
        font-size: 1.5rem;
    }
    
    .hero-description {
        text-align: center;
        margin: 0 auto;
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
        text-align: center;
        gap: 1rem;
    }
    
    .hero-profile {
        width: 200px;
        height: 200px;
        border-width: 4px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: none;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        justify-items: center;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .project-card {
        height: auto;
        text-align: center;
        width: 100%;
        max-width: 400px;
        padding: 2rem;
    }
    
    .project-header {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    .project-tags {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .section-subtitle {
        text-align: center;
        font-size: 1.1rem;
    }
    
    .contact-form {
        padding: 2rem;
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .form-group {
        text-align: left;
    }
    
    .form-group input,
    .form-group textarea {
        text-align: left;
    }
    
    .community-buttons {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .community-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .community-text {
        text-align: center;
    }
    
    .community-text h3 {
        text-align: center;
        font-size: 1.75rem;
    }
    
    .community-text p {
        text-align: center;
        font-size: 1rem;
    }
    
    .community-section {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        padding: 2rem;
    }
    
    .footer-content {
        text-align: center;
        gap: 1rem;
    }
    
    .footer-logo {
        justify-content: center;
        font-size: 1.25rem;
    }
    
    .footer-profile {
        width: 40px;
        height: 40px;
    }
    
    .footer-text {
        font-size: 1rem;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
    }
}

/* Styles pour très petits écrans mobiles - Timeline optimisée */
@media (max-width: 479px) {
    .timeline-container {
        padding: 0.5rem;
        height: 420px;
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
        overflow: hidden;
    }
    
    .timeline-card {
        padding: 1.25rem;
        min-height: 280px;
        max-width: 350px;
        margin: 0 auto;
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
        border: 2px solid rgba(128, 128, 128, 0.3) !important;
    }
    
    .timeline-card.prev {
        transform: translateX(-50px) scale(0.75);
        opacity: 0.7;
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card.next {
        transform: translateX(50px) scale(0.75);
        opacity: 0.7;
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card.hidden-left {
        transform: translateX(-120px) scale(0.55);
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card.hidden-right {
        transform: translateX(120px) scale(0.55);
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
    }
    
    .timeline-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .timeline-card p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .timeline-date {
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .timeline-tags {
        gap: 0.25rem;
        margin-bottom: 1.25rem;
    }
    
    .timeline-tags .tag {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .timeline-navigation {
        gap: 0.5rem;
    }
    
    .nav-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .timeline-container [class*="timeline-card"] {
        border-radius: 16px !important;
        -webkit-border-radius: 16px !important;
        -moz-border-radius: 16px !important;
        border: 2px solid rgba(128, 128, 128, 0.3) !important;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 5rem 1rem 3rem;
        text-align: center;
        min-height: 90vh;
    }
    
    .container {
        padding: 0 1rem;
        text-align: center;
    }
    
    .hero-content {
        gap: 1.5rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
        text-align: center;
        margin-top: 0.5rem;
    }
    
    .animated-title {
        justify-content: center;
        text-align: center;
    }
    
    .letter {
        text-align: center;
    }
    
    .hero-text h2 {
        text-align: center;
        font-size: 1.25rem;
    }
    
    .hero-description {
        text-align: center;
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .section-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .section-subtitle {
        text-align: center;
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        text-align: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-profile {
        width: 160px;
        height: 160px;
        border-width: 3px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .project-card {
        padding: 1.5rem;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
    
    .project-header {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .project-image {
        width: 60px;
        height: 60px;
    }
    
    .project-image i {
        font-size: 1.5rem;
    }
    
    .project-card h3 {
        font-size: 1.25rem;
    }
    
    .project-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .project-tags {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .tag {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .contact-form {
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
        padding: 1.5rem;
    }
    
    .form-group {
        text-align: left;
        margin-bottom: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        text-align: left;
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .form-group textarea {
        min-height: 120px;
    }
    
    .community-section {
        text-align: center;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        padding: 1.5rem;
    }
    
    .community-text {
        text-align: center;
    }
    
    .community-text h3 {
        text-align: center;
        font-size: 1.5rem;
    }
    
    .community-text p {
        text-align: center;
        font-size: 0.95rem;
    }
    
    .community-buttons {
        text-align: center;
        gap: 0.75rem;
    }
    
    .community-buttons .btn {
        max-width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .footer-content {
        text-align: center;
        gap: 0.75rem;
        padding: 2rem 0 1rem;
    }
    
    .footer-logo {
        justify-content: center;
        font-size: 1.1rem;
        gap: 0.75rem;
    }
    
    .footer-profile {
        width: 35px;
        height: 35px;
    }
    
    .footer-text {
        font-size: 0.9rem;
    }
    
    .footer-copyright {
        font-size: 0.75rem;
    }
    
    .contact-methods {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .projects {
        padding: 4rem 0;
    }
    
    .contact {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
}






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

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.animated-title {
    display: flex;
    overflow: hidden;
    color: #ffffff !important;
}

.letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: letterAppear 4s ease-in-out infinite;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

.letter:nth-child(1) { animation-delay: 0s; }
.letter:nth-child(2) { animation-delay: 0.3s; }
.letter:nth-child(3) { animation-delay: 0.6s; }

@keyframes letterAppear {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    15% {
        opacity: 1;
        transform: translateY(0);
    }
    85% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-100%);
    }
}


.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
    will-change: transform, opacity;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
    will-change: transform, opacity;
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
    will-change: transform, opacity;
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease-out;
    will-change: transform, opacity;
}

.scroll-reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}


.contact-form.scroll-reveal-scale {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
    animation-delay: 0.3s;
    transition: all 0.8s ease-out;
    transition-delay: 0.3s;
}


.community-section.scroll-reveal {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
    animation-delay: 0.5s;
    transition: all 0.8s ease-out;
    transition-delay: 0.5s;
}


.project-card {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.contact-form {
    animation: slideInRight 0.8s ease-out;
    animation-fill-mode: both;
    animation-delay: 0.2s;
}

.hero-text {
    animation: slideInLeft 0.8s ease-out;
    animation-fill-mode: both;
}

.hero-image {
    animation: slideInRight 0.8s ease-out;
    animation-fill-mode: both;
}


.project-card:nth-child(1) { 
    animation-delay: 0.1s; 
    animation-fill-mode: both;
}
.project-card:nth-child(2) { 
    animation-delay: 0.3s; 
    animation-fill-mode: both;
}
.project-card:nth-child(3) { 
    animation-delay: 0.5s; 
    animation-fill-mode: both;
}


.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}


.animated-title {
    position: relative;
}

.letter {
    position: relative;
    display: inline-block;
    overflow: hidden;
}




html {
    scroll-behavior: smooth;
}

/* ===== SCROLLBAR PERSONNALIS�E ===== */
::-webkit-scrollbar {
    width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}


.scroll-reveal,
.scroll-reveal-left,
.scroll-reveal-right,
.scroll-reveal-scale {
    will-change: transform, opacity;
}


.clicker-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.clicker-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
    pointer-events: none;
}

.clicker-container {
    background: var(--bg-card);
    border-radius: var(--border-radius-xl);
    padding: 3rem;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
}

.clicker-display {
    margin-bottom: 2rem;
}

.clicker-counter {
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.clicker-counter.animate {
    transform: scale(1.05);
    color: var(--accent-primary);
    transition: all 0.1s ease;
}

.clicker-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
}

.clicker-btn {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
}

.clicker-btn:hover {
    background: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.clicker-btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.clicker-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.clicker-speed-indicator {
    font-size: 0.8em;
    margin-left: 0.5rem;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.clicker-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat-item i {
    color: var(--accent-primary);
    font-size: 1rem;
}


@keyframes clickParticle {
    0% {
        opacity: 1;
        transform: scale(0) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: scale(1) rotate(180deg);
    }
}

.click-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    pointer-events: none;
    animation: clickParticle 0.4s ease-out forwards;
}


@media (max-width: 768px) {
    .clicker-container {
        padding: 2rem;
    }
    
    .clicker-counter {
        font-size: 3rem;
    }
    
    .clicker-btn {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
    }
    
    .clicker-stats {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .clicker-counter {
        font-size: 2.5rem;
    }
    
    .clicker-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .clicker-stats {
        flex-direction: column;
        gap: 1rem;
    }
} 