.video-modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
}

.video-modal iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 10px;
}

.close-video {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 10000;
}

.close-video:hover {
    color: var(--color-1);
}

/* Styles pour la galerie d'images */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--color-white);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Styles pour les cartes de réalisations */
.achievement-card {
    background: var(--color-white);
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-gray-3);
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.achievement-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-1);
    margin-bottom: 10px;
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.video-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(234, 144, 16, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 15px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 5px;
}

.video-thumbnail:hover .play-button {
    background: var(--color-1);
    transform: translate(-50%, -50%) scale(1.1);
}

.story-section {
    background: linear-gradient(135deg, var(--color-1) 0%, var(--color-1-dark) 100%);
    color: var(--color-white);
    padding: 60px 0;
    margin: 40px 0;
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-1);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 40px 0;
    width: 45%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 55%;
    text-align: left;
}

.timeline-content {
    background: var(--color-white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-gray-3);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 30px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 30px;
}

.timeline-dot {
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--color-1);
    border-radius: 50%;
    border: 4px solid var(--color-white);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -40px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -40px;
}

/* Responsive Design */
@media screen and (max-width: 800px) {
    .image-gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        margin-left: 50px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0 0 0 30px;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: -50px;
        right: auto;
    }

    .achievement-card {
        padding: 20px;
        margin: 15px 0;
    }

    .achievement-number {
        font-size: 2.5rem;
    }

    .video-modal iframe {
        height: 300px;
    }
}

@media screen and (max-width: 600px) {
    .image-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-item img {
        height: 200px;
    }

    .story-section {
        padding: 40px 0;
    }

    .achievement-card {
        padding: 15px;
    }

    .achievement-number {
        font-size: 2rem;
    }

    .video-modal-content {
        width: 95%;
        padding: 10px;
    }

    .video-modal iframe {
        height: 250px;
    }
}

/* Styles pour le texte centré */
.text-center {
    text-align: center;
}

/* Amélioration de l'espacement */
.s-content__page {
    padding: 60px 0;
}

.s-content__page:first-of-type {
    padding-top: 40px;
}

/* Style pour les sections avec fond alterné */
.s-content__page:nth-child(even) {
    background: var(--color-gray-1);
}