@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* Global Styles */
h2 {
    text-align: center;
    margin-top: 20px;
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: bold;
    animation: fadeInDown 1.5s ease-in-out;
    font-family: 'Poppins', sans-serif;
}

.equipe {
    padding: 50px 0;
    background: linear-gradient(135deg, #f9f9f9, #ffffff);
}

.containerequipe {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.about-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px 30px;
    justify-content: center;
}

.team-member {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 250px;
    animation: fadeInUp 1.5s ease-out;
    margin-bottom: 30px;
    font-family: 'Roboto', sans-serif;
}

.team-member img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-bottom: 5px solid #3498db;
}

.team-member .details {
    padding: 20px;
    text-align: center;
}

.team-member h4 {
    font-size: 1.6rem;
    color: #220ba5;
    margin-bottom: 10px;
    font-weight: 700;
}

.team-member p {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.6;
    text-align: justify;
    color: #34495e;
}

.skills {
    margin-top: 20px;
}

.skill {
    margin-bottom: 15px;
    text-align: left;
}

.skill span {
    display: block;
    font-size: 0.9rem;
    color: #333;
    font-weight: bold;
    margin-bottom: 5px;
}

progress {
    width: 100%;
    height: 10px;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    border-radius: 5px;
    background-color: #ecf0f1;
    overflow: hidden;
}

progress::-webkit-progress-bar {
    background-color: #ecf0f1;
}

progress::-webkit-progress-value {
    background: linear-gradient(90deg, #3498db, #2ecc71);
}

progress::-moz-progress-bar {
    background: linear-gradient(90deg, #3498db, #2ecc71);
}

/* Custom Layout for Team Members */
.content-wrapper .team-member:nth-child(1) {
    width: 100%;
    display: flex;
    justify-content: center;
}

.content-wrapper .team-member:nth-child(n+2) {
    width: calc(33.333% - 20px);
}

@media screen and (max-width: 768px) {
    .content-wrapper .team-member:nth-child(n+2) {
        width: calc(50% - 15px);
    }
}

@media screen and (max-width: 480px) {
    .content-wrapper .team-member {
        width: 100%;
    }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}















/* Mobile display*/



#EquipeMobile {
    display: none; /* Masqué par défaut sur les grands écrans */
}

/*Responsive Design Header*/


   



@media screen and (max-width: 810px) {

    .equipe {
        display: none;
    }

    #EquipeMobile {
        display: block; /* Visible uniquement en mode mobile */
    }


    #EquipeMobile {
        padding: 30px 0;
    }

    #EquipeMobile h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    #EquipeMobile .containerequipe {
        padding: 0 15px;
    }

    #EquipeMobile .content-wrapper {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    #EquipeMobile .team-member {
        flex-direction: column;
        padding: 15px;
        gap: 20px;
    }

    #EquipeMobile .team-member img {
        width: 150px;
        height: 200px;
        margin: 0 auto;
    }

    #EquipeMobile .details {
        width: 90%;
    }

    #EquipeMobile .details h4 {
        font-size: 18px;
        text-align: center;
    }

    #EquipeMobile .details p {
        font-size: 14px;
        line-height: 1.5;
        text-align: justify;
    }

    #EquipeMobile .skills {
        margin-top: 15px;
    }

    #EquipeMobile .skill {
        margin-bottom: 8px;
    }

    #EquipeMobile .skill span {
        font-size: 13px;
    }

    #EquipeMobile .skill progress {
        height: 8px;
    }

    #EquipeMobile #whatsapp-popup {
        right: 15px;
        bottom: 15px;
        padding: 10px;
    }

    #EquipeMobile #whatsapp-popup img {
        width: 30px;
    }

    #EquipeMobile #whatsapp-popup a {
        font-size: 12px;
    }
}
