body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #f9f9f9;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

nav {
    display: flex;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: #000;
}

.image-accueil{
    border-radius: 2em;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* Mobile styles */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    nav {
        position: absolute;
        top: 70px;
        right: 20px;
        background-color: #fff;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        display: none;
    }

    nav.active {
        display: flex;
    }
}
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #f9f9f9;
    color: #222;
}

.about-section {
    padding: 4rem 1.5rem;
    max-width: 1200px;
    margin: auto;
}


.about-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.about-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.about-card.show {
    opacity: 1;
    transform: translateY(0);
}

.about-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: #00C2F7;
}

.about-card ul {
    padding-left: 1.2rem;
    list-style-type: "• ";
}

.about-card p,
.about-card ul {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to right, #f0f4ff, #ffffff);
    color: #222;
}

.hero {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    min-height: 50vh;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1rem;
    max-width: 600px;
    margin-left: 0.3rem;
    animation: fadeInUp 1.2s ease-out;
}

.highlight {
    color: #00C2F7;
}

.cta-button {
    display: inline-block;
    background-color: #00C2F7;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    animation: fadeInUp 1.4s ease-out;
}

.cta-button:hover {
    background-color: #00C2F7;
}

.hero-image img {
    max-width: 300px;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        text-align: left;
        padding: 6rem 4rem;
        margin: 4em;
    }

    .hero-content {
        flex: 1;
        padding-right: 2rem;
    }

    .hero-image {
        flex: 1;
        display: flex;
        justify-content: center;
    }
}

.project-card img.project-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.project-card img:hover {
    transform: scale(1.02);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    max-width: 800px;
    width: 90%;
    max-height: 90%;
    overflow-y: auto;
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
    text-align: center;
    position: relative;
}

.modal-content img {
    max-width: 100%;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.modal-content h3 {
    color: #00C2F7;
    font-size: 1.6rem;
}

.modal-content p {
    font-size: 1rem;
    margin: 1rem 0;
    line-height: 1.6;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    color: #555;
    cursor: pointer;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 1rem;
    }
}