.section1{
    display: flex;
    align-items: center;
    height: 80%;
    position: relative;
    display: flex;
    justify-content: center;
}

.Milieu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    
  }

  .Veille {
    text-align: center;
    font-size: 4rem; /* Taille de police ajustable pour les petits écrans via une requête média */
    background: linear-gradient(268deg, #5200FF 12%, #FF00F5 91.75%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0; /* Supprime les marges par défaut pour rapprocher les textes */
}

.Esteban {
    color: #D9D9D9;
    text-align: center;
    font-size: 4rem; /* Taille de police ajustable pour les petits écrans via une requête média */
    font-weight: 700;
    line-height: 1; /* Réduit l'espacement entre les lignes de texte */
    margin: 0; /* Supprime les marges par défaut pour rapprocher les textes */
    padding-top: 2%;
}

.desc {
    text-align: center;
    font-size: 2rem; /* Taille de police ajustable pour les petits écrans via une requête média */
    align-items: center;
    background: linear-gradient(268deg, #5200FF 12%, #FF00F5 91.75%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: 80%; /* Ajuste la largeur à 80% de la largeur de la div pour la rendre responsive */
    max-width: 88rem; /* Fixe une largeur maximale pour éviter que le texte devienne trop grand sur les grands écrans */
    margin: 0; /* Supprime les marges par défaut pour rapprocher les textes */
    padding-top: 2%;
    animation: backgroundAnimation 10s ease infinite;
}

.description {
    color: #6B7094;
    font-family: Arial, sans-serif;
    font-size: 1.2rem; 
    line-height: 1.4rem;
    height: auto; 
    text-align: center;
    max-width: 700px;
}

.titre {
    color: #FFF;
    font-family: Arial, sans-serif;
    font-size: 1.2rem; 
    font-weight: 700;
    line-height: 1.5rem;
    margin: 10px 0 5px 0; 
    text-align: center;
}

.enTete {
    margin-top: 5%;
    margin-bottom: 1%;
    color: #FFF;
    font-family: Poppins, sans-serif;
    font-size: 2rem; /* Taille relative */
    text-align: center; /* Centre le titre */
    font-weight: 700;

}

.gris{
    background: rgb(10, 10, 10);
}

.deux{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 70%;
}

.verticale{
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.options-slam {
    display: flex;
    justify-content: center;
    gap: 20px; /* Espace entre les boutons */
    margin: 20px 0;
}

.option-slam {
    background-color: #6D2B9D; /* Couleur de fond */
    color: white; /* Couleur du texte */
    border: none; /* Pas de bordure */
    border-radius: 5px; /* Coins arrondis */
    padding: 10px 20px; /* Espacement interne */
    font-size: 1.2rem; /* Taille de police */
    cursor: pointer; /* Curseur en main */
    transition: background-color 0.3s; /* Transition pour l'effet hover */
}

.option-slam:hover {
    background-color: #EE4CDB; /* Couleur de fond au survol */
}

.popup {
    display: none;
    position: fixed;
    z-index: 9998;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.popup-content {
    background: #2d1b36;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 80%;
    max-width: 600px;
    position: relative;
    color: #fff;
    border: 2px solid #4a2b59;
}

.popup-content h2 {
    color: #e385ff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.popup-content p {
    color: #fff;
    line-height: 1.6;
}

.popup .close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0;
}

.popup .close:hover {
    color: #e385ff;
}

.banner{
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: 15% 50%;

}

.map-container {
    display: flex;
    justify-content: center;
    
}

.map-container iframe {
    border: 0; /* Supprime la bordure de l'iframe */
    width: 100%; /* Largeur responsive */
    height: 450px; /* Hauteur de la carte */
}

.horizontale{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10rem;
    
}
.miniature {
    display: flex;
    align-content: center;
    height: 28rem; /* Taille ajustée pour les écrans plus petits */
    width: 28rem; /* Utilisation d'une taille relative */
    border-radius: 14px;
}

.bg1 {
    background-color: black; /* Fond noir */
    padding: 40px; /* Espacement autour de la section */
    border-radius: 10px; /* Coins arrondis pour la section */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); /* Ombre pour un effet de profondeur */
}

.boutonstyle {
    display: flex;
    width: 200px; 
    font-size: 1.2rem; 
    border-radius: 5px; 
    transition: transform 0.1s, background-color 0.3s; 
    background: linear-gradient(133deg, #6D2B9D, #EE4CDB); 
    color: #FFF; 
    text-align: center;
    padding: 10px; 
    text-decoration: none; 
    margin: 10px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    justify-content: center;
    align-items: center;
}

.boutonstyle:hover {
    transform: scale(1.05); /* Effet de zoom au survol */
    background-color: #EE4CDB; /* Changement de couleur au survol */
}

.horizontale2{
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.matiere{
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: #141414;
    margin-bottom: 1%;
    color: #850080;
    font-family: Poppins, sans-serif;
    font-size: 2rem; /* Taille relative */
    text-align: center; /* Centre le titre */
    font-weight: 600;
    padding: 2%;
    margin-top: 3%;
}

.cours{
    display: flex;
    gap: 10rem;
}


.logoproj {
    height: 7rem; /* Taille ajustée pour les écrans plus petits */
    width: 7rem; /* Utilisation d'une taille relative */
    border-radius: 14px;
}



.verticale2 {
    display: inline-flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%; 
    max-width: 568px;
    height: auto; 
    margin-bottom: 20px; 
    align-items: center;
}

/* Styles pour la section stages */
.stage-container {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stage-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1f3d 100%);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(138, 43, 226, 0.2);
    transition: transform 0.3s ease;
}

.stage-card:hover {
    transform: translateY(-5px);
}

.stage-header {
    border-bottom: 2px solid #6D2B9D;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.stage-title {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stage-duration {
    color: #EE4CDB;
    font-size: 1rem;
}

.stage-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.stage-mission {
    color: #fff;
}

.stage-mission h3 {
    color: #EE4CDB;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.mission-text {
    color: #d1d1d1;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.mission-details ul {
    list-style: none;
    padding-left: 1rem;
}

.mission-details li {
    color: #a8a8a8;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.mission-details li::before {
    content: "•";
    color: #EE4CDB;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.stage-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.download-button {
    background: linear-gradient(135deg, #6D2B9D 0%, #EE4CDB 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(238, 76, 219, 0.3);
}

.location-card {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
}

.location-title {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.location-info {
    color: #a8a8a8;
    margin-bottom: 1.5rem;
}

.location-info p {
    margin-bottom: 0.5rem;
}

.stage-map {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stage-content {
        grid-template-columns: 1fr;
    }
    
    .stage-buttons {
        justify-content: center;
    }
    
    .download-button {
        width: 100%;
        justify-content: center;
    }
}

/* Nouvelle section Info Card */
.info-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1f3d 100%);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    box-shadow: 0 4px 20px rgba(138, 43, 226, 0.2);
}

.info-header {
    text-align: center;
    margin-bottom: 2rem;
}

.info-title {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.info-subtitle {
    color: #EE4CDB;
    font-size: 1.2rem;
}

.info-description {
    color: #d1d1d1;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.options-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.option-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.option-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.option-icon {
    font-size: 2.5rem;
    color: #EE4CDB;
    margin-bottom: 1rem;
}

.option-card h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.option-card p {
    color: #a8a8a8;
    font-size: 0.9rem;
}

/* Projets Section */
.projects-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-title {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #EE4CDB;
    font-size: 1.1rem;
    font-weight: 600;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1f3d 100%);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

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

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.project-content p {
    color: #a8a8a8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #EE4CDB;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #fff;
}

.tp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tp-card {
    background: linear-gradient(135deg, #6D2B9D 0%, #EE4CDB 100%);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.tp-card:hover {
    transform: translateY(-5px);
}

.tp-card i {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.tp-card h3 {
    color: #fff;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .options-container {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .tp-grid {
        grid-template-columns: 1fr;
    }
}

/* Nouveau style général */
.main-content {
    background-color: black;
}

.content-section {
    padding: 4rem 0;
}

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

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

.section-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6D2B9D 0%, #EE4CDB 100%);
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: #EE4CDB;
    font-size: 1.2rem;
    opacity: 0.8;
}

.section-description {
    color: #a8a8a8;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* Images et bannières */
.image-banner {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(138, 43, 226, 0.2);
}

.full-width-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.text-content {
    padding-right: 2rem;
}

.feature-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(138, 43, 226, 0.2);
}



/* Responsive Design */
@media (max-width: 768px) {
    .split-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .text-content {
        padding-right: 0;
        text-align: center;
    }

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

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

    .content-section {
        padding: 2rem 0;
    }
}

/* Gallery Styles */
.stage-gallery {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.stage-gallery h3 {
    color: #EE4CDB;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.gallery-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 0 auto;
    overflow: hidden;
}

.gallery-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-slides {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
    width: 100%;
}

.gallery-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.gallery-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.02);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(238, 76, 219, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 2;
    transition: background-color 0.3s ease;
}

.gallery-nav:hover {
    background: rgba(109, 43, 157, 0.9);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
    padding: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #EE4CDB #1a1a1a;
}

.thumb {
    width: 100px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.thumb:hover {
    transform: translateY(-2px);
}

.thumb.active {
    border-color: #EE4CDB;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-container {
        height: 300px;
    }

    .gallery-thumbs {
        justify-content: center;
    }

    .thumb {
        width: 80px;
        height: 48px;
    }
}

