:root {
    --primary-color: #FFD93D;
    --text-color: #333333;
    --background-color: #FFFFFF;
    --card-background: #F8F8F8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Fira Code', monospace;
}

h1, h2, h3, .nav-links a, .hire-btn {
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.5px;
    font-weight: 600;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

/* Loader */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFFADA;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

.loader {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: white;
    border: 2px solid #000;
    border-radius: 8px;
    box-shadow: 6px 6px 0 #000;
    transition: all 0.3s ease;
}

.loader img {
    width: 120px;
    height: auto;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1.1) translateY(-5px);
    }
    100% {
        transform: scale(1) translateY(0);
    }
}

/* Header & Navigation */
header {
    padding: 1rem 5%;
    border-bottom: 1px solid #E5E5E5;
    position: relative;
    background-color: var(--background-color);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    top: 0;
    left: 0;
    transition: all 0.3s ease;
    z-index: 1001;
}

.logo img {
    height: 55px;
    width: auto;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 0.6rem;
    background: white;
    box-shadow: 4px 4px 0 #000;
}

.logo:hover {
    top: -2px;
    left: -2px;
}

.logo:hover img {
    box-shadow: 6px 6px 0 #000;
    background: #FFD93D;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Navigation styles */
.mobile-nav {
    display: none;
}

@media screen and (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        position: fixed;
        top: 0.8rem;
        right: 0.8rem;
        z-index: 1002;
        background: var(--primary-color);
        padding: 0.5rem;
        border-radius: 8px;
        border: 2px solid #000;
        box-shadow: 3px 3px 0 #000;
    }

    .mobile-menu-btn span {
        background-color: #000;
        height: 2px;
        margin: 4px 0;
        width: 24px;
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(10px) saturate(180%);
        -webkit-backdrop-filter: blur(10px) saturate(180%);
        border-left: 1px solid rgba(255, 255, 255, 0.3);
        flex-direction: column;
        justify-content: flex-start;
        padding: 5rem 1.5rem 2rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
    }

    .nav-container.active {
        right: 0;
        opacity: 1;
        visibility: visible;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 2rem;
        padding: 0 1rem;
    }

    .mobile-nav-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        text-decoration: none;
        color: #000;
        background-color: var(--primary-color);
        padding: 0.6rem 0.8rem;
        border-radius: 50px;
        border: 2px solid #000;
        box-shadow: 3px 3px 0 #000;
        transition: all 0.3s ease;
        text-align: left;
        gap: 0.6rem;
        width: 100%;
    }

    .mobile-nav-item svg {
        width: 20px;
        height: 20px;
        stroke: currentColor;
        stroke-width: 2;
        flex-shrink: 0;
    }

    .mobile-nav-item span {
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: -0.5px;
    }

    .mobile-nav-item:hover {
        background-color: #FFE15D;
        transform: translate(-1px, -1px);
        box-shadow: 4px 4px 0 #000;
    }

    .nav-right {
        position: absolute;
        bottom: 2rem;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        width: 100%;
        padding: 0 1.5rem;
    }

    .nav-right .social-icons {
        display: flex;
        gap: 1.5rem;
        justify-content: center;
    }

    .nav-right .social-icons a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.3rem;
        transition: opacity 0.3s ease;
    }

    .nav-right .social-icons a:hover {
        opacity: 0.8;
    }

    .nav-right .social-icons img {
        width: 24px;
        height: 24px;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    top: 0;
    left: 0;
}

.nav-links a:hover {
    color: #000;
    background: var(--primary-color);
    top: -2px;
    left: -2px;
    box-shadow: 4px 4px 0 #000;
    border: 2px solid #000;
}

.social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-icon:hover img {
    transform: translateY(-2px);
}

.hire-btn {
    background-color: #FFD93D;
    border: 2px solid #000;
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    color: #000;
    box-shadow: 4px 4px 0 #000;
    position: relative;
    top: 0;
    left: 0;
    text-decoration: none;
    white-space: nowrap;
}

.hire-btn:hover {
    background-color: #FFE15D;
    top: -2px;
    left: -2px;
    box-shadow: 6px 6px 0 #000;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5rem 5%;
    gap: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), 
                rgba(255, 217, 61, 0.15) 0%,
                rgba(255, 217, 61, 0.05) 30%,
                transparent 60%);
    opacity: 0.8;
    animation: glassLight 8s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(90deg,
                transparent 0%,
                rgba(255, 255, 255, 0.2) 15%,
                transparent 30%,
                rgba(255, 255, 255, 0.2) 45%,
                transparent 60%,
                rgba(255, 255, 255, 0.2) 75%,
                transparent 90%);
    filter: blur(3px);
    animation: glassShine 10s linear infinite;
}

@keyframes glassLight {
    0% {
        --x: 0%;
        --y: 0%;
    }
    25% {
        --x: 100%;
        --y: 0%;
    }
    50% {
        --x: 100%;
        --y: 100%;
    }
    75% {
        --x: 0%;
        --y: 100%;
    }
    100% {
        --x: 50%;
        --y: 50%;
    }
}

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

.hero-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.greeting {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    white-space: nowrap;
    font-weight: 700;
}

@keyframes textToLogo {
    0%, 45% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 0;
        transform: translateY(-30%) scale(0.8);
    }
    55%, 95% {
        opacity: 0;
        transform: translateY(-70%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

.hero-content h1 .highlight {
    color: #FFD93D;
    position: relative;
    display: inline-block;
}

.hero-content h1 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.animated-text {
    display: inline-block;
    position: relative;
}

.animated-text .text,
.animated-text .logo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.animated-text .text {
    animation: textToLogo 6s ease-in-out infinite;
}

.animated-text .logo {
    animation: textToLogo 6s ease-in-out infinite reverse;
}

.animated-text {
    min-width: 300px;
}

.animated-text .text {
    font-size: inherit;
    white-space: nowrap;
}

.animated-text .logo-img {
    height: 45px;
    width: auto;
    margin-left: -5px;
}

.subtitle {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    line-height: 1.4;
    color: var(--text-color);
    letter-spacing: -0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media screen and (max-width: 768px) {
    .hero {
        padding: 2rem 1rem;
        gap: 1.5rem;
    }

    .chat-bubble {
        display: none;
    }

    .chat-bubble {
        display: none;
    }

    .chat-bubble::before,
    .chat-bubble::after {
        top: -10px;
        left: 20px;
        border-width: 0 10px 10px 10px;
        border-color: transparent transparent #000 transparent;
    }

    .chat-bubble::after {
        top: -7px;
        border-color: transparent transparent #fff transparent;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0 1rem;
        max-width: 100%;
    }

    .profile-pic {
        width: 160px;
        height: auto;
        border-radius: 0;
        margin: 0;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        line-height: 1.2;
        flex-wrap: wrap;
        gap: 5px;
    }

    .animated-text {
        min-width: 200px;
    }

    .animated-text .logo-img {
        height: 35px;
        margin-left: -3px;
    }

    .greeting {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .subtitle {
        font-size: 0.8rem;
        white-space: normal;
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }

    .subtitle .separator {
        display: none;
    }

    .subtitle span:not(.separator) {
        position: relative;
        padding-left: 1rem;
    }

    .subtitle span:not(.separator)::before {
        content: '>';
        position: absolute;
        left: 0;
        color: var(--primary-color);
    }

    .nav-links a {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .hire-btn {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
        border-width: 1px;
        box-shadow: 2px 2px 0 #000;
    }

    .download-cv,
    .download-portfolio {
        font-size: 0.75rem;
        padding: 0.6rem 0.8rem;
        white-space: nowrap;
    }

    .download-portfolio {
        font-size: 0.7rem;
    }

    .download-icon {
        width: 16px;
        height: 16px;
    }

    section h2 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .section-description {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    .contact .info-item h3 {
        font-size: 0.8rem;
    }

    .contact .info-item a:not(.social-icon) {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* Réduction des cartes de compétences */
    .service-card {
        padding: 0.8rem;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .service-card img {
        width: 28px;
        height: 28px;
    }

    /* Réduction du footer */
    footer {
        padding: 0.6rem 0.5rem;
    }

    footer p {
        font-size: 0.55rem;
        line-height: 1.1;
        letter-spacing: -0.5px;
    }

    footer h2 {
        font-size: 0.65rem;
        margin-bottom: 0.2rem;
        line-height: 1;
        letter-spacing: -0.5px;
        display: flex;
        flex-direction: column;
    }

    footer .cta-text {
        font-size: 0.55rem;
        margin-bottom: 0.3rem;
        line-height: 1;
        display: flex;
        flex-direction: column;
        gap: 0.1rem;
    }

    footer .cta-text strong {
        font-size: 0.6rem;
        white-space: normal;
        display: block;
        letter-spacing: -0.5px;
        word-break: break-word;
        max-width: 100%;
    }

    footer .copyright {
        font-size: 0.55rem;
        opacity: 0.8;
        margin-top: 0.3rem;
    }

    footer .social-icons {
        gap: 0.5rem;
    }

    footer .social-icon img {
        width: 20px;
        height: 20px;
    }

    /* Réduction des expériences */
    .experience-item {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .experience-item h3 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }

    .experience-item .company {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .experience-item .date {
        font-size: 0.75rem;
    }

    .experience-item ul {
        font-size: 0.8rem;
        padding-left: 1rem;
        margin-top: 0.5rem;
    }

    .experience-item li {
        margin-bottom: 0.3rem;
    }

    /* Réduction des projets */
    .selected-project {
        padding: 1.5rem 0.8rem;
    }

    .project-card {
        padding: 0.6rem;
        margin-bottom: 0.8rem;
        border-width: 1px;
        box-shadow: 1px 1px 0 #000;
    }

    .project-card img {
        max-height: 150px;
        object-fit: cover;
    }

    .project-card:hover {
        transform: translate(-2px, -2px);
        box-shadow: 4px 4px 0 #000;
    }

    .project-card h3 {
        font-size: 0.75rem;
        margin-bottom: 0.2rem;
        letter-spacing: -0.3px;
    }

    .project-card p {
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
        line-height: 1.3;
    }

    .project-card .tags {
        gap: 0.2rem;
        margin-bottom: 0.3rem;
        flex-wrap: wrap;
    }

    .project-card .tag {
        font-size: 0.65rem;
        padding: 0.15rem 0.3rem;
        border-width: 1px;
        margin: 0.1rem;
    }

    .project-card .links {
        gap: 0.5rem;
    }

    /* Réduction des boutons de projets */
    .project-card .links {
        display: flex;
        gap: 0.4rem;
        flex-wrap: wrap;
        margin-top: 0.5rem;
    }

    .project-card .link-btn {
        font-size: 0.65rem;
        padding: 0.2rem 0.3rem;
        white-space: nowrap;
        border-width: 1px;
        box-shadow: 1px 1px 0 #000;
        margin: 0.1rem;
    }

    .project-card .link-btn:hover {
        transform: translate(-1px, -1px);
        box-shadow: 2px 2px 0 #000;
    }

    .project-card .link-btn svg {
        width: 14px;
        height: 14px;
    }

    /* Réduction du formulaire de contact */
    .contact-form label {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 0.8rem;
        padding: 0.5rem;
        margin-bottom: 0.8rem;
    }

    .contact-form button {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}

/* Style code-like pour certains éléments */
.info-item a:not(.social-icon),
.contact-form input,
.contact-form textarea,
.contact-form select {
    font-family: 'Fira Code', monospace;
    letter-spacing: -0.5px;
}

/* Style monospace pour les descriptions */
.service-card p,
.job-description,
.section-description {
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    letter-spacing: -0.5px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.download-cv,
.download-portfolio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 2rem;
    border: 2px solid #000;
    border-radius: 8px;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0 #000;
}

.download-icon {
    transition: transform 0.3s ease;
}

.download-cv:hover .download-icon,
.download-portfolio:hover .download-icon {
    transform: translateY(3px);
    animation: bounce 0.6s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(3px);
    }
}

.download-cv {
    background-color: #FFD93D;
    color: #000;
}

.download-portfolio {
    background-color: #fff;
    color: var(--text-color);
}

.download-cv:hover,
.download-portfolio:hover {
    top: -2px;
    left: -2px;
    box-shadow: 6px 6px 0 #000;
}

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

.profile-pic {
    width: 450px;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    animation: float 4s ease-in-out infinite;
}

@media screen and (max-width: 768px) {
    .hero {
        padding: 3rem 1.5rem;
        gap: 2rem;
    }

    .hero-content {
        order: 2;
    }

    .profile-pic {
        width: 250px;
        height: 250px;
        order: 1;
        border-radius: 50%;
    }

    .hero-content h1 {
        font-size: 2rem;
        white-space: normal;
    }

    .subtitle {
        font-size: 1rem;
        max-width: 100%;
        padding: 0 1rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    .download-cv,
    .download-portfolio {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        text-align: center;
        gap: 10px;
        box-shadow: 4px 4px 0 #000;
    }

    .what-i-do {
        padding: 3rem 1.5rem;
    }

    .what-i-do h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .section-description {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }

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

    .service-card {
        padding: 1.5rem;
        min-height: auto;
        max-width: 100%;
    }

    .service-icon img {
        width: 32px;
        height: 32px;
    }

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

    .service-card p {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 2rem 1rem;
    }

    .profile-pic {
        width: 100%;
        max-width: 300px;
        height: auto;
        border-radius: 0;
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .greeting {
        font-size: 1.1rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        white-space: normal;
    }

    .download-cv,
    .download-portfolio {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 250px;
        justify-content: center;
        text-align: center;
        box-shadow: 4px 4px 0 #000;
    }

    .what-i-do {
        padding: 2.5rem 1rem;
    }

    .what-i-do h2 {
        font-size: 1.6rem;
    }

    .section-description {
        font-size: 0.95rem;
    }

    .service-card {
        padding: 1.2rem;
    }
}

/* What I Do Section */
.what-i-do {
    padding: 5rem 5%;
    text-align: center;
}

.what-i-do h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.section-description {
    max-width: 700px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #000;
    box-shadow: 5px 5px 0 #000;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0 1rem;
}

.service-card:hover {
    transform: translate(-5px, -5px);
    box-shadow: 10px 10px 0 #000;
}

@keyframes iconAnimation {
    0% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(5deg);
    }
    50% {
        transform: scale(1.1) rotate(-5deg);
    }
    75% {
        transform: scale(1.1) rotate(5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    transition: all 0.3s ease;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon img {
    animation: iconAnimation 2s ease-in-out;
}

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

.service-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    flex-grow: 1;
}

@media screen and (min-width: 1024px) {
    .services-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        padding: 0 2rem;
        gap: 2rem;
    }
    
    .service-card {
        margin: 0;
        padding: 2rem;
    }
}

@media screen and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        gap: 2rem;
        padding: 0 1.5rem;
    }

    .service-card {
        padding: 1.8rem;
    }
}

@media screen and (max-width: 768px) {
    .what-i-do {
        padding: 3rem 1.5rem;
    }

    .what-i-do h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .section-description {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
        max-width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

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

    .service-card p {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 480px) {
    .what-i-do {
        padding: 2rem 1rem;
    }

    .hero-image {
        padding: 0 0.5rem;
    }

    .profile-pic {
        width: 140px;
    }



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

    .animated-text {
        min-width: auto;
    }

    .animated-text .text {
        position: static;
        transform: none;
        animation: none;
    }

    .animated-text .logo {
        display: none;
    }

    .greeting {
        font-size: 0.9rem;
    }

    .what-i-do h2 {
        font-size: 1.5rem;
    }

    .section-description {
        font-size: 0.95rem;
    }

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

    .service-card {
        min-height: auto;
        padding: 1.2rem;
    }

    .service-icon img {
        width: 32px;
        height: 32px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }
}

/* Section Title Styling */
section h2, .contact-info h2, .experience h2 {
    text-align: center;
    width: 100%;
    margin-bottom: 0.5rem;
}

.title-decoration {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 5px;
    margin-bottom: 2rem;
}

/* Remove flex styling from sections to keep content alignment original */
section, .contact-info {
    text-align: left;
}

.experience {
    text-align: left;
    padding: 4rem 5%;
}

.experience h2 {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Ensure section content is properly centered */
.section-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Contact section specific alignment */
.contact-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    width: 100%;
}

.contact-info .info-item {
    margin-bottom: 2rem;
    width: 100%;
}

.contact-info .info-item h3,
.contact-info .info-item a,
.contact-info .info-item .social-icons {
    margin-left: 0;
    padding-left: 0;
    text-align: left;
    width: 100%;
}

.contact-info .info-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-info .info-item a {
    display: inline-block;
    font-size: 1.1rem;
    text-decoration: none;
    color: var(--text-color);
}

.contact-info .social-icons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .hero {
        padding: 3rem 1.5rem;
        gap: 2rem;
    }

    .hero-content {
        order: 2;
    }

    .profile-pic {
        width: 250px;
        height: 250px;
        order: 1;
        border-radius: 50%;
    }

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

    .greeting {
        font-size: 1.2rem;
    }

    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

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

    .download-cv,
    .download-portfolio {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem;
    }


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

    .service-card {
        padding: 1.5rem;
        min-height: auto;
        max-width: 100%;
    }

    .service-icon img {
        width: 32px;
        height: 32px;
    }

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

    .service-card p {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 2rem 1rem;
    }

    .profile-pic {
        width: 100%;
        max-width: 300px;
        height: auto;
        border-radius: 0;
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .greeting {
        font-size: 1.1rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        white-space: normal;
    }

    .download-cv,
    .download-portfolio {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        box-shadow: 4px 4px 0 #000;
    }

    .what-i-do {
        padding: 2.5rem 1rem;
    }

    .what-i-do h2 {
        font-size: 1.6rem;
    }

    .section-description {
        font-size: 0.95rem;
    }

    .service-card {
        padding: 1.2rem;
    }
}

/* Info Bar */
.info-bar {
    background-color: #000;
    color: #fff;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 20px;
}

.info-bar-content {
    display: flex;
    animation: slide 15s linear infinite;
    white-space: nowrap;
    width: 100%;
    align-items: center;
    height: 100%;
    justify-content: space-around;
}

.info-item {
    display: flex;
    align-items: center;
    margin: 0 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
    justify-content: center;
}

.info-item .dot {
    width: 5px;
    height: 5px;
    background-color: #FFD93D;
    border-radius: 50%;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Title Decoration */
.title-decoration {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 10px;
    width: 100%;
}

.title-decoration .dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: dotBounce 1s infinite;
}

.title-decoration .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.title-decoration .dot:nth-child(3) {
    animation-delay: 0.4s;
}

.title-decoration .dot:nth-child(4) {
    animation-delay: 0.6s;
}

.title-decoration .dot:nth-child(5) {
    animation-delay: 0.8s;
}

@keyframes dotBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Apply title decoration to all section titles */
section h2 {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section h2::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: dotPulse 1.5s infinite;
}

@keyframes dotPulse {
    0% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-50%) scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
}

/* Ensure contact section title is also centered */
.contact-info h2 {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info .title-decoration {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 10px;
    width: 100%;
}

/* Skills Section */
.glass-effect {
    position: relative;
    background: rgba(255, 250, 218, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 217, 61, 0.3);
    overflow: hidden;
}

.glass-effect::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), 
                rgba(255, 217, 61, 0.15) 0%,
                rgba(255, 217, 61, 0.05) 30%,
                transparent 60%);
    opacity: 0.8;
    animation: glassLight 8s ease-in-out infinite alternate;
    pointer-events: none;
}

.glass-effect::after {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(90deg,
                transparent 0%,
                rgba(255, 255, 255, 0.2) 15%,
                transparent 30%,
                rgba(255, 255, 255, 0.2) 45%,
                transparent 60%,
                rgba(255, 255, 255, 0.2) 75%,
                transparent 90%);
    filter: blur(3px);
    animation: glassShine 10s linear infinite;
    pointer-events: none;
}

.skills {
    padding: 4rem 5%;
    text-align: center;
    background-color: #FFFADA;
}

.skills h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #000;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.skill-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    background-color: white;
    border: 2px solid #000;
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: 4px 4px 0 #000;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-item:hover {
    background-color: #FFD93D;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000;
}

.skill-icon {
    width: 24px;
    height: 24px;
}

.skill-name {
    font-size: 14px;
    font-weight: 500;
}

.skill-tag {
    background-color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    border: 2px solid #000;
    box-shadow: 4px 4px 0 #000;
    position: relative;
    top: 0;
    left: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-tag:hover {
    background-color: #FFD93D;
    top: -2px;
    left: -2px;
    box-shadow: 6px 6px 0 #000;
}

/* About Me Section */
.about-me {
    padding: 4rem 5%;
    text-align: center;
    background-color: #1C1917;
    color: #fff;
}

.about-me h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.about-content {
    max-width: 800px;
    margin: 3rem auto 0;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #9CA3AF;
}

/* Experience Section */
.experience {
    padding: 4rem 5%;
    background-color: #1C1917;
    color: #fff;
}

.experience h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #fff;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.experience-items {
    max-width: 1200px;
    margin: 2rem auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: left;
}

.experience-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.experience-section .expand-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.experience-section .expand-btn::before {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 1.2rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.experience-section .experience-item.expanded .expand-btn::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.experience-section .expand-btn:hover {
    background: rgba(255, 255, 255, 1);
}

.year {
    font-size: 1rem;
    color: #6B7280;
    min-width: 80px;
}

.year.now {
    color: #FFD93D;
}

.experience-content {
    flex: 1;
}

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

.job-header h3 {
    font-size: 1.25rem;
    color: #fff;
    margin: 0;
}

.expand-btn {
    background: #FFD93D;
    border: 2px solid #000;
    color: #000;
    cursor: pointer;
    font-size: 1.2rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
    line-height: 1;
    box-shadow: 2px 2px 0 #000;
}

.expand-btn:hover {
    color: #fff;
}

.company {
    color: #6B7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.description {
    color: #9CA3AF;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 1rem;
}

/* Selected Project Section */
.selected-project {
    padding: 4rem 5%;
    background-color: #fff;
    text-align: center;
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.filter-btn {
    background: #fff;
    border: 2px solid #000;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0 #000;
}

.filter-btn:hover,
.filter-btn.active {
    background: #FFD93D;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000;
}

.project-showcase {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 1rem;
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.project-info {
    flex: 1;
    text-align: left;
}

.project-display {
    flex: 1;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    background: transparent;
    border: 2px solid #000;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 4px 4px 0 #000;
    position: relative;
    top: 0;
    left: 0;
}

.filter-btn:hover,
.filter-btn.active {
    background: #FFD93D;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000;
}

.project-card {
    display: flex;
    background: #fff;
    border: 2px solid #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 4px 4px 0 #000;
    position: relative;
    top: 0;
    left: 0;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000;
}

.project-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
}

.project-info p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
}

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

.project-tag {
    padding: 0.4rem 1rem;
    background: #f5f5f5;
    border: 2px solid #000;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 2px 2px 0 #000;
    transition: all 0.3s ease;
}

.project-tag:hover {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 #000;
    background: #FFD93D;
}

.project-info {
    flex: 1;
    text-align: left;
}

.project-text {
    display: none;
}

.project-text.active {
    display: block;
}

.campaign-slides {
    margin-bottom: 2rem;
}

.campaign-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.campaign-slide.active {
    display: block;
    opacity: 1;
}

.campaign-slide h4 {
color: var(--primary-color);
margin-bottom: 1rem;
font-size: 1.5rem;
}

.slide-nav {
display: flex;
justify-content: center;
gap: 0.5rem;
margin: 1rem 0;
}

.slide-dot {
width: 10px;
height: 10px;
border-radius: 50%;
background-color: #ddd;
border: none;
cursor: pointer;
transition: background-color 0.3s ease;
}

.slide-dot.active {
background-color: var(--primary-color);
}

.project-text h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.project-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.more-btn {
    background: #FFD93D;
    border: 2px solid #000;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0 #000;
}

.more-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000;
}

.project-display {
    flex: 1;
}

.project-filters {
    margin-bottom: 2rem;
}

.project-card-container {
    position: relative;
    width: 100%;
}

.project-card {
    display: none;
    background: white;
    border: 2px solid #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 8px 8px 0 #000;
    transition: all 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
}

.project-card.active {
    display: block;
    position: relative;
    opacity: 1;
}

.project-card.active {
    display: block;
}

.project-card img {
    width: 100%;
    height: auto;
    display: block;
}

.project-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.project-dot {
    width: 32px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-dot.active {
    background: #FFD93D;
    width: 48px;
}

.project-card {
    display: flex;
    background-color: var(--card-background);
    border-radius: 15px;
    overflow: hidden;
    margin-top: 2rem;
}

/* Media Queries pour Projets Sélectionnés */
@media screen and (max-width: 768px) {
    .project-showcase {
        flex-direction: column;
        gap: 1rem;
        padding: 0;
    }

    .project-display {
        display: none;
    }

    .project-info {
        order: 1;
        width: 100%;
    }

    .project-text {
        margin-bottom: 1rem;
    }

    .project-display {
        display: block;
    }

    .project-card {
        display: none;
    }

    .project-card {
        opacity: 0;
        display: none;
        transition: opacity 0.3s ease;
    }

    .project-text {
        display: none;
    }

    .project-text.active {
        display: block;
    }

    .campaign-slide {
        display: none;
    }

    .campaign-slide.active {
        display: block;
    }

/* Style de base pour les images de projet */
.project-image,
.campaign-slide .project-image,
.project-text .project-image,
.campaign-slides .project-image {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #000;
    box-shadow: 3px 3px 0 #000;
}

.project-image img,
.campaign-slide .project-image img,
.project-text .project-image img,
.campaign-slides .project-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Masquer les images uniquement sur desktop */
@media screen and (min-width: 1024px) {
    .project-image,
    .campaign-slide .project-image,
    .project-text .project-image,
    .campaign-slides .project-image {
        display: none !important;
    }
}

    .campaign-slide .project-image img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.3s ease;
    }

    .campaign-slide .project-image img:hover {
        transform: scale(1.02);
    }

    .slide-nav {
        display: flex;
        gap: 10px;
        justify-content: center;
        margin: 20px 0;
    }

    .slide-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #ddd;
        border: none;
        padding: 0;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .slide-dot.active {
        background-color: #FFD700;
    }

    .project-image.mobile-only,
    .campaign-slide .project-image.mobile-only {
        display: none !important;
    }

    @media screen and (max-width: 768px) {
        .project-display {
            display: none;
        }

        .project-image.mobile-only,
        .campaign-slide .project-image.mobile-only {
            display: block !important;
            margin: 1rem 0;
            width: 100%;
            border-radius: 12px;
            overflow: hidden;
        }
    }

    .project-image.mobile-only img {
        width: 100%;
        height: auto;
        display: block;
    }

    .more-btn {
        margin-top: 1rem;
        width: 100%;
    }

    .project-info {
        text-align: center;
        padding: 0 1rem;
    }

    .project-filters {
        gap: 0.1rem;
        margin: 1rem 0;
        padding: 0.3rem;
        overflow-x: auto;
        justify-content: center;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        white-space: nowrap;
        width: 100%;
        background: rgba(255, 255, 255, 0.05);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transform-origin: center;
        transform: scale(0.85);
    }

    .filter-buttons::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        padding: 0.12rem 0.25rem;
        font-size: 0.55rem;
        box-shadow: 1px 1px 0 #000;
        border-width: 1px;
        min-width: auto;
        letter-spacing: -0.5px;
        font-weight: 500;
        transform: scale(0.85);
        margin: 0;
    }

    .project-card {
        flex-direction: column;
        margin: 0;
        box-shadow: 3px 3px 0 #000;
    }

    .project-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .project-info {
        padding: 1.5rem;
        text-align: left;
    }

    .project-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .project-info p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .project-tags {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }

    .project-tag {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
        box-shadow: 2px 2px 0 #000;
    }
}

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

    .filter-buttons {
        padding: 0.5rem;
        gap: 0.3rem;
    }

    .filter-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
        box-shadow: 1.5px 1.5px 0 #000;
        border-width: 1.5px;
    }

    .project-card {
        box-shadow: 2px 2px 0 #000;
    }

    .project-card img {
        height: 180px;
    }

    .project-info {
        padding: 1rem;
    }

    .project-info h3 {
        font-size: 1.1rem;
    }

    .project-info p {
        font-size: 0.85rem;
    }

    .project-tags {
        gap: 0.4rem;
    }

    .project-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
        box-shadow: 1px 1px 0 #000;
    }
}

.project-info {
    flex: 1;
    padding: 2rem;
}

.hire-btn {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.view-more {
    background-color: var(--primary-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    margin-top: 1.5rem;
    cursor: pointer;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.download-cv, .download-portfolio {
    padding: 0.8rem 1.5rem;
    border: 2px solid #000;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

/* Portfolio Section */
.portfolio {
    padding: 3rem 5%;
    margin-top: 0rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
    padding: 4rem 5%;
    background-color: #FFFADA;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h3 {
    font-size: 1rem;
    color: #000;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.25rem;
    width: fit-content;
}

.contact .info-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact .info-item > *:not(h3) {
    margin-left: 0;
}

.info-item .subtitle {
    font-size: 1.2rem;
}

.contact .info-item a:not(.social-icon) {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 0.5rem 1rem;
    border: 2px solid #000;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0 #000;
    position: relative;
    top: 0;
    left: 0;
    width: auto;
    min-width: 200px;
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: lowercase;
}

.contact-icon {
    flex-shrink: 0;
}

.contact .info-item a:not(.social-icon):hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #000;
    background: #FFD93D;
    color: #000;
}

.contact .info-item a:hover {
    color: var(--primary-color);
}

.contact .social-icons {
    display: flex;
    gap: 0.5rem;
}

.contact-form form {
display: grid;
gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #000;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #000;
    box-shadow: 2px 2px 0 #000;
    position: relative;
    top: 0;
    left: 0;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 4px 4px 0 #000;
    top: -2px;
    left: -2px;
}

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

.contact-form .send-btn {
background: var(--primary-color);
color: #000;
border: 2px solid #000;
padding: 1rem 2rem;
border-radius: 50px;
font-weight: 600;
font-size: 1rem;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 4px 4px 0 #000;
position: relative;
top: 0;
left: 0;
width: fit-content;
}

.contact-form .send-btn:hover {
background: #FFE15D;
top: -2px;
left: -2px;
box-shadow: 6px 6px 0 #000;
}

/* Media Queries pour la section contact */
@media screen and (max-width: 1024px) {
.contact-container {
grid-template-columns: 1fr;
gap: 2rem;
padding: 1.5rem;
}

.contact h2 {
font-size: 1.75rem;
}

.contact-form .send-btn {
width: 100%;
}
}

@media screen and (max-width: 768px) {
.contact {
padding: 3rem 5%;
}

.contact-container {
padding: 1.25rem;
gap: 1.5rem;
box-shadow: 6px 6px 0 #000;
}

.contact h2 {
font-size: 1.5rem;
margin-bottom: 1.5rem;
}

.contact .info-item h3 {
font-size: 1rem;
}

.contact .info-item a:not(.social-icon) {
font-size: 0.85rem;
padding: 0.4rem 0.8rem;
box-shadow: 3px 3px 0 #000;
}

.contact .info-item a:not(.social-icon):hover {
box-shadow: 4px 4px 0 #000;
}
}

@media screen and (max-width: 480px) {
    .contact {
        padding: 2rem 1rem;
        border: none;
        box-shadow: none;
    }

    .contact-container {
        padding: 1rem;
        gap: 1rem;
        box-shadow: none;
        border: none;
    }

    .contact-info,
    .contact-form {
        border: none;
        box-shadow: none;
        padding: 0;
        background: transparent;
    }

    .contact input,
    .contact select,
    .contact textarea {
        border-width: 1px;
        box-shadow: 1px 1px 0 #000;
    }

    .contact .send-btn {
        border-width: 1px;
        box-shadow: 1px 1px 0 #000;
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }

    .contact h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
        border-radius: 6px;
        box-shadow: 1px 1px 0 #000;
    }

    .contact-form input:focus,
    .contact-form select:focus,
    .contact-form textarea:focus {
        box-shadow: 2px 2px 0 #000;
        top: -1px;
        left: -1px;
    }

    .contact-form textarea {
        min-height: 120px;
    }

    .contact-form .send-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        box-shadow: 3px 3px 0 #000;
    }

    .contact-form .send-btn:hover {
        box-shadow: 4px 4px 0 #000;
    }

    .contact .info-item {
        margin-bottom: 1.5rem;
    }

    .contact .info-item a:not(.social-icon) {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
        box-shadow: 2px 2px 0 #000;
    }

    .contact .info-item a:not(.social-icon):hover {
        box-shadow: 3px 3px 0 #000;
    }

    .contact .social-icons {
        gap: 0.75rem;
    }
}

/* Footer */
footer {
background-color: #1E1E1E;
padding: 2rem 5%;
position: relative;
overflow: hidden;
    padding: 2rem 5%;
    position: relative;
    overflow: hidden;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

@keyframes bubbleAppear {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInOut {
    0%, 3% {
        opacity: 0;
        transform: translateY(8px);
    }
    8%, 22% {
        opacity: 1;
        transform: translateY(0);
    }
    25%, 100% {
        opacity: 0;
        transform: translateY(-8px);
    }
}



.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    position: relative;
}

.chat-bubble {
    position: absolute;
    right: -20px;
    top: 15%;
    background: #fff;
    padding: 1.2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid #000;
    max-width: 280px;
    animation: bubbleAppear 0.5s ease-out forwards;
}

.chat-bubble::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    border-style: solid;
    border-width: 10px 10px 10px 0;
    border-color: transparent #000 transparent transparent;
}

.chat-bubble::after {
    content: '';
    position: absolute;
    left: -7px;
    top: 20px;
    border-style: solid;
    border-width: 10px 10px 10px 0;
    border-color: transparent #fff transparent transparent;
}

.chat-messages {
    height: 65px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.message-group {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(8px);
    animation: fadeInOut 20s infinite;
}

.chat-messages {
    height: 65px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.message-group {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(8px);
    animation: fadeInOut 20s infinite;
}

.chat-text {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    white-space: normal;
}

.message-group:nth-child(2) {
    animation-delay: 5s;
}

.message-group:nth-child(3) {
    animation-delay: 10s;
}

.message-group:nth-child(4) {
    animation-delay: 15s;
}

.chat-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #25D366;
    color: #fff;
    padding: 0.5rem 0.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.75rem;
    margin-top: 0.8rem;
    border: 1.5px solid #000;
    transition: all 0.3s ease;
    box-shadow: 3px 3px 0 #000;
}

.chat-cta:hover {
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 #000;
}

.whatsapp-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-text h2 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    line-height: 1.3;
}

.logo span {
    font-size: 1.2rem;
    font-weight: 600;
    margin-left: 0.5rem;
    letter-spacing: 1px;
    background: linear-gradient(45deg, var(--primary-color), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}

.footer-text h3 {
    color: #FFD93D;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-text .contact-btn {
    display: inline-block;
    background: #FFD93D;
    color: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #fff;
    position: relative;
    top: 0;
    left: 0;
    box-shadow: 4px 4px 0 #fff;
}

.footer-text .contact-btn:hover {
    top: -2px;
    left: -2px;
    box-shadow: 6px 6px 0 #fff;
}

.footer-social {
display: flex;
gap: 1rem;
}

.footer-social .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.footer-social .social-icon img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.footer-social .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.footer-social .social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2),
                0 0 30px rgba(255, 255, 255, 0.1);
}

.footer-image {
    position: relative;
    height: 180px;
}

.footer-image img {
    height: 100%;
    object-fit: contain;
    position: relative;
    bottom: -20px;
}

/* Media Queries */

/* Tablettes (768px à 1024px) */
@media screen and (max-width: 1024px) {
    /* Experience Section */
    .experience-section {
        padding: 4rem 5%;
        background: #000;
    }

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

    .timeline {
        padding: 2rem 0;
    }

    .experience-item {
        flex-direction: column;
        padding: 1rem;
    }

    .timeline-content {
        margin-left: 0;
        margin-top: 1rem;
    }

    /* About Section */
    .about-section {
        padding: 4rem 5%;
    }

    .about-container {
        max-width: 900px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        padding: 0 2rem;
    }

    .about-content {
        text-align: left;
    }

    .about-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        position: relative;
        padding-left: 1rem;
    }

    .about-content h2::before {
        content: '';
        height: 14px;
        width: 3px;
        background: #FFD93D;
        border-radius: 2px;
    }

    .about-text {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        color: #444;
    }

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

    .about-image {
        border-radius: 15px;
        border: 2px solid #000;
        box-shadow: 5px 5px 0 #000;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .stat-item {
        padding: 1.2rem;
        box-shadow: 4px 4px 0 #000;
    }

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

    .stat-label {
        font-size: 0.9rem;
    }
    /* Global Text Sizes */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    /* Navigation */
    .nav-links {
        display: none;
    }

    .social-icons {
        margin-left: auto;
    }

    /* Hero Section */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 3rem 5% 4rem;
        gap: 3rem;
    }

    .hero-content {
        order: 2;
        max-width: 600px;
        margin: 0 auto;
    }

    .greeting {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .subtitle {
        font-size: 1rem;
        max-width: 300px;
        margin: 1rem auto;
        line-height: 1.5;
    }

    .hero-buttons {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .download-cv, 
    .download-portfolio {
        min-width: 180px;
    }

    .profile-pic {
        width: 250px;
        height: 250px;
        box-shadow: 12px 12px 0 #FFD93D;
    }

    /* Info Bar */
    .info-bar {
        padding: 0.3rem 3%;
    }

    .info-item {
        margin-right: 2rem;
        font-size: 0.7rem;
    }

    /* What I Do Section */
    .what-i-do {
        padding: 3rem 5% 4rem;
    }

    .what-i-do h2 {
        margin-bottom: 0.8rem;
    }

    .section-description {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 900px;
        margin: 0 auto;
    }

    .service-card {
        padding: 2rem;
        min-height: 280px;
    }

    .service-icon img {
        width: 35px;
        height: 35px;
        margin-bottom: 1.2rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .service-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Experience Timeline */
    .timeline {
        padding: 2rem;
    }

    .timeline-item {
        flex-direction: column;
        padding: 1rem;
    }

    .timeline-content {
        margin-left: 0;
        margin-top: 1rem;
    }

    /* Project Grid */
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

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

/* Mobile (jusqu'à 767px) */
@media screen and (max-width: 767px) {
    /* About Section */
    .about-section {
        padding: 3rem 1rem;
    }

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

    .about-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }

    .about-content h2::before {
        height: 14px;
        width: 3px;
    }

    .about-text {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .about-image {
        border-radius: 12px;
        box-shadow: 4px 4px 0 #000;
        margin: 0 auto;
        max-width: 90%;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .stat-item {
        padding: 1rem;
        box-shadow: 3px 3px 0 #000;
    }

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

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

    /* Global Text Sizes */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* About Section */
    .about-section {
        padding: 2.5rem 1rem;
    }

    .about-container {
        gap: 2rem;
    }

    .about-content {
        text-align: left;
    }

    .about-content h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .about-text {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        color: #666;
    }

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

    .about-image {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
        border: 2px solid #000;
        box-shadow: 4px 4px 0 #000;
    }

    .about-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .stat-item {
        background: #fff;
        padding: 1rem;
        border: 2px solid #000;
        box-shadow: 3px 3px 0 #000;
        text-align: center;
    }

    .stat-number {
        font-size: 1.2rem;
        font-weight: 700;
        color: #000;
        margin-bottom: 0.3rem;
    }

    .stat-label {
        font-size: 0.8rem;
        color: #666;
    }

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

    /* Skills Section */
    .skills-section {
        padding: 2.5rem 1rem;
    }

    .skills-container {
        gap: 2rem;
        padding: 0 1rem;
    }

    .skills-category {
        background: #fff;
        padding: 1.5rem;
        border-radius: 12px;
        border: 2px solid #000;
        box-shadow: 4px 4px 0 #000;
    }

    .skills-category h3 {
        margin-bottom: 1.2rem;
        font-size: 1.1rem;
        padding-left: 0.8rem;
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }

    .skills-category h3::before {
        content: '';
        height: 14px;
        width: 3px;
        background: #FFD93D;
        border-radius: 2px;
    }

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

    .skill-item {
        padding: 0.8rem;
        font-size: 0.85rem;
        min-height: 42px;
        gap: 0.6rem;
        background: #fff;
        border: 2px solid #000;
        box-shadow: 3px 3px 0 #000;
        transition: all 0.3s ease;
    }

    .skill-item:hover {
        transform: translate(-2px, -2px);
        box-shadow: 4px 4px 0 #000;
        background: #FFD93D;
    }

    .skill-icon {
        width: 20px;
        height: 20px;
        opacity: 0.8;
    }

    .skill-item:hover .skill-icon {
        opacity: 1;
    }

    /* Experience Section */
    @media screen and (max-width: 768px) {
        .experience {
            padding: 3rem 1rem;
            background: #000;
        }

        .experience-items {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            padding: 0;
            width: 100%;
        }

        .experience-item {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 1.5rem;
            width: 100%;
            margin: 0;
            transition: all 0.3s ease;
        }

        .experience-item:hover {
            background: rgba(255, 255, 255, 0.08);
        }

        .timeline {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            padding: 0;
            margin: 0;
            width: 100%;
        }

        .timeline-grid {
            display: flex;
            flex-direction: column;
            width: 100%;
        }

        .experience-item {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 1.5rem;
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-bottom: 1.5rem;
            border: none;
            width: 100%;
        }

        .experience-item:hover {
            background: rgba(255, 255, 255, 0.08);
        }

        .experience-item {
            display: flex;
            flex-direction: column;
        }

        .year {
            font-size: 0.85rem;
            font-weight: 400;
            color: #888;
            margin-bottom: 1rem;
            order: -1;
        }

        .experience-content {
            margin-top: 0;
        }

        .job-header {
            margin-bottom: 1rem;
        }

        .job-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: #fff;
            margin-bottom: 0.5rem;
            line-height: 1.4;
        }

        .company {
            font-size: 0.9rem;
            margin-bottom: 0.75rem;
            color: #aaa;
        }

        .description {
            font-size: 0.9rem;
            line-height: 1.6;
            margin: 0;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
        }

        .experience-item.expanded .description {
            max-height: 500px;
            margin-top: 1rem;
            transition: max-height 0.3s ease-in;
        }

        .expand-btn {
            position: absolute;
            top: 1.5rem;
            right: 1.5rem;
            width: 24px;
            height: 24px;
            background: rgba(255, 255, 255, 0.8);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .expand-btn::before {
            content: '+';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: #000;
            font-size: 1.2rem;
            line-height: 1;
            transition: transform 0.3s ease;
        }

        .experience-item.expanded .expand-btn::before {
            transform: translate(-50%, -50%) rotate(45deg);
        }

        .expand-btn:hover {
            background: rgba(255, 255, 255, 1);
        }

        .job-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: #fff;
            margin-bottom: 0.5rem;
            line-height: 1.4;
        }

        .company {
            font-size: 0.9rem;
            color: #888;
            margin-bottom: 1rem;
            display: block;
        }

        .description {
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.6;
            margin-bottom: 0;
        }


    }

    @media screen and (max-width: 480px) {
        .experience-section {
            padding: 2rem 1rem;
        }

        .experience-item {
            padding: 1.2rem;
        }

        .year {
            font-size: 0.85rem;
        }

        .job-title {
            font-size: 1rem;
        }

        .company,
        .description {
            font-size: 0.85rem;
        }

        .expand-btn {
            width: 20px;
            height: 20px;
            top: 1.2rem;
            right: 1.2rem;
        }
    }

    .job-title {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
        color: #fff;
        line-height: 1.2;
        word-wrap: break-word;
    }

    .company {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
        color: #aaa;
        word-wrap: break-word;
    }

    .job-description {
        font-size: 0.7rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
        color: #999;
        word-wrap: break-word;
        max-width: 100%;
    }

    /* Ajustement des skills */
    .skills-section {
        padding: 1rem 0.5rem;
    }

    .skills-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
        padding: 0;
    }

    .skill-category {
        padding: 0.5rem;
    }

    .skill-category h3 {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
        letter-spacing: -0.3px;
    }

    .skill-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.3rem;
        margin-top: 0.2rem;
    }

    .skill-tag {
        padding: 0.2rem 0.35rem;
        font-size: 0.6rem;
        box-shadow: 1px 1px 0 #000;
        white-space: nowrap;
        border-width: 1px;
        letter-spacing: -0.3px;
        margin: 0.1rem;
    }

    .skill-tag:hover {
        transform: translate(-1px, -1px);
        box-shadow: 3px 3px 0 #000;
    }

    .skill-tag:hover {
        transform: translate(-1px, -1px);
        box-shadow: 3px 3px 0 #000;
    }

    .year {
        font-size: 0.85rem;
        min-width: 50px;
    }

    .job-title {
        font-size: 1rem;
    }

    .company {
        font-size: 0.85rem;
    }

    .job-description {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .skill-tag {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

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

    .info-bar {
        padding: 0.2rem 2%;
    }

    .info-item {
        margin-right: 1.5rem;
        font-size: 0.65rem;
    }

    .service-card,
    .project-card,
    .contact-form input,
    .contact-form textarea {
        padding: 1rem;
    }

    .footer-image {
        height: 120px;
    }
}

/* Section titles */
.what-i-do h2,
.about-section h2,
.experience h2,
.portfolio h2,
.contact h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}


