@media screen and (max-width: 767px) {
    /* Cache complètement le logo original */
    .about-page .logo img {
        display: none !important;
    }

    /* Nouveau logo pour la page about */
    .about-page .logo {
        position: relative;
        width: 80px;
        height: 80px;
    }

    .about-page .logo::after {
        content: '';
        display: block;
        position: fixed;
        top: -136px;
        left: -19px;
        width: 250px;
        height: 370px;
        background: url('../static/logoo.png') no-repeat center center;
        background-size: contain;
        z-index: 1003;
    }

    /* Navigation fixe */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: transparent;
        padding: 10px;
    }

    /* Style pour le menu mobile - copié de style.css */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 24vh;
        background: rgba(210, 214, 208, 0.98);
        flex-direction: column;
        padding: 40px 0px 40px;
        gap: 8px;
        z-index: 1001;
        border-radius: 20px 0 0 20px;
        box-shadow: -2px 0 15px rgba(0,0,0,0.1);
        margin: 0;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        right: 0;
    }

    .nav-links a {
        color: #333;
        font-size: 1em;
        padding: 8px 15px;
        border-bottom: 1px solid #eee;
        width: 80%;
        margin: 0 0 0 auto;
        text-align: right;
    }

    .menu-toggle {
        display: flex;
        width: 25px;
        height: 20px;
        flex-direction: column;
        justify-content: space-between;
        position: fixed;
        left: 350px;
        top: 15px;
        z-index: 1002;
        cursor: pointer;
    }

    .menu-toggle span {
        height: 2px;
        width: 100%;
        background-color: #333;
        border-radius: 2px;
        transition: all 0.3s;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Style du contenu About */
    .about-container {
        width: 80%;
        margin-top: 100px;
        padding: 15px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 10px;
    }


    /* Slider styles améliorés */

    .about-slider {
        width: 100%;
        margin-bottom: 15px;
        border-radius: 10px;
        overflow: hidden;
        height: 300px; /* Hauteur fixe augmentée */
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .slider-wrapper {
        position: relative;
        width: 100%;
        height: 100%; /* Hauteur à 100% du parent */
    }

    .slide {
        display: none;
        width: 100%;
        max-width: 100%;
        height: 100%; /* Hauteur à 100% du parent */
        object-fit: cover; /* Garde les proportions */
        border-radius: 8px;
        position: absolute; /* Position absolue pour le slider */
        top: 0;
        left: 0;
        transition: opacity 0.5s ease; /* Animation douce */
    }

    .slide.active {
        display: block;
        opacity: 1;
    }

    /* Ajustement des boutons du slider */
    .slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.6);
        color: white;
        border: none;
        padding: 15px;
        cursor: pointer;
        z-index: 2;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }

    .prev {
        left: 15px;
    }

    .next {
        right: 15px;
    }

    /* Adjust text spacing */
    .about-text {
        padding: 15px;
        color: #333;
    }

    .about-text h2 {
        font-size: 1.5em;
        margin-bottom: 10px;
        color: #333;
        text-align: center;
        letter-spacing: -0.5px;
    }

    .about-text p {
        font-size: 0.9em;
        line-height: 1.4;        /* Reduced from 1.6 */
        margin-bottom: 10px;     /* Reduced from 15px */
        text-align: justify;
        letter-spacing: -0.3px;  /* Tighten letter spacing */
        word-spacing: -0.5px;    /* Tighten word spacing */
    }

    .about-text strong {
        letter-spacing: normal;  /* Reset letter spacing for bold text */
    }

    .about-text em {
        letter-spacing: normal;  /* Reset letter spacing for italic text */
    }

}