body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background: #f9f9f9;
    background-image: url('images/pattern.png'); /* Ajout d'un motif en arrière-plan */
    background-repeat: repeat-y; /* Répéter verticalement */
    background-size: 200px; /* Ajuster la taille du motif */
    background-position: left, right; /* Positionner à gauche et à droite */
}

header {
    background: #004080;
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header .logo {
    max-height: 70px; /* Augmentation de la taille du logo */
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #ffdd57;
}

#hero {
    background: #004080;
    background-image: url('images/background-texture.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    text-align: center;
    padding: 60px 20px; /* Réduction de la hauteur de la bande */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#hero h1 {
    font-size: 2.5em; /* Réduction de la taille du texte */
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

#hero p {
    font-size: 1.2em; /* Réduction de la taille du texte */
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-btn {
    background: #ffdd57;
    color: #004080;
    padding: 10px 20px; /* Réduction de la taille du bouton */
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    background: #ffcc00;
}

#services {
    padding: 50px 20px;
    text-align: center;
    background: #fff;
}

.icon-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.icon-item {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #f9f9f9;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.icon-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.icon-item img {
    max-width: 60px;
    margin-bottom: 10px;
}

.icon-item p {
    margin: 0;
    font-weight: bold;
    color: #004080;
}

#partners {
    padding: 10px 0;
    text-align: center;
    background: #f9f9f9;
}

.partners-grid {
    display: flex;
    justify-content: space-between; /* Ajuster la répartition des logos */
    align-items: center;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto;
}

.partners-grid img {
    max-height: 25px; /* Taille des logos des partenaires */
    margin: 0 5px;
}

footer {
    background: #004080;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

footer .container {
    text-align: center;
}

#about {
    padding: 50px 20px;
    background: #fff;
    border: 5px solid #004080; /* Ajout de couleur au tour */
    border-radius: 15px; /* Ajout de bordures arrondies */
}

#about .container {
    max-width: 1200px;
    margin: 0 auto;
}

#about h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    color: #004080;
}

#about h1::after {
    content: '...';
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Alignement des éléments enfants au début */
    background: #f1f1f1;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.text-content {
    flex: 2; /* Augmentation de la largeur du texte */
    margin-right: 20px;
}

.photo-content {
    flex: 1; /* Réduction de la largeur des photos */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.photo-content .founder {
    text-align: center;
    margin-bottom: 20px;
}

.photo-content .founder img {
    max-width: 100px; /* Taille réduite des photos */
    border-radius: 50%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.photo-content .founder img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.photo-content .founder h2 {
    margin-top: 10px;
    font-size: 1em; /* Réduction de la taille du texte des noms */
    color: #004080;
}

.mission, .history, .principles {
    margin-bottom: 30px;
}

.mission h2, .history h2, .principles h2 {
    margin-bottom: 10px;
    font-size: 1.8em;
    color: #004080;
}

.email-link {
    color: #ffdd57; /* Couleur des liens email */
}

#contact {
    padding: 50px 20px;
    background: #fff;
}

#contact .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border: 5px solid #004080; /* Ajout de couleur au tour */
    border-radius: 15px; /* Ajout de bordures arrondies */
}

#contact h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    color: #004080;
}

.contact-info {
    display: flex;
    flex-wrap: wrap; /* Permet de passer en colonne sur petit écran */
    justify-content: space-between;
    margin-bottom: 30px;
}

.info-item {
    flex: 1;
    text-align: center;
    padding: 20px;
    background: #004080; /* Changement de couleur de fond */
    color: #fff; /* Changement de couleur de texte */
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 20px; /* Ajout d'espace entre les items pour petit écran */
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form {
    background: #004080; /* Changement de couleur de fond */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: #fff; /* Changement de couleur de texte */
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #fff; /* Changement de couleur de texte */
}

.contact-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form button {
    background: #fff; /* Changement de couleur de fond */
    color: #004080; /* Changement de couleur de texte */
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #e0e0e0;
}

footer {
    background: #004080;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

footer .container {
    text-align: center;
}


#service-content {
    padding: 50px 20px;
    background: #fff;
    border: 5px solid #004080;
    border-radius: 15px;
    margin: 20px;
}

#service-content h1 {
    text-align: center;
    font-size: 2.5em;
    color: #004080;
    margin-bottom: 20px;
}

.short-content, .full-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.short-content img, .full-content img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 10px 0;
}

.short-content p, .full-content p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 10px;
}

.toggle-button {
    background: #ffdd57;
    color: #004080;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.toggle-button:hover {
    background: #ffcc00;
}
/* Pour les écrans de petite taille */
@media (max-width: 768px) {
    .icon-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .icon-item {
        max-width: none;
        min-width: 0;
    }

    .icon-item img {
        max-width: 50px;
        margin-bottom: 10px;
    }
}
/* Pour les écrans de petite taille */
@media (max-width: 768px) {
    .partners-grid {
        display: flex;
        flex-wrap: nowrap; /* Empêche le retour à la ligne */
        overflow-x: auto; /* Ajoute un défilement horizontal si nécessaire */
        justify-content: flex-start;
        gap: 10px;
        padding: 10px 0;
    }

    .partners-grid img {
        max-width: 50px; /* Taille réduite des logos */
        height: auto;
        margin: 5px;
    }
}
.menu-button {
    display: none;
    background-color: #004080;
    color: white;
    padding: 10px;
    cursor: pointer;
    text-align: center;
    border-radius: 5px;
  }
  
  .menu-button span {
    font-size: 20px;
  }
  
  .mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #004080;
  }
  
  .mobile-menu ul {
    list-style: none;
    padding: 0;
  }
  
  .mobile-menu ul li {
    margin: 0;
    padding: 10px;
    text-align: center;
  }
  
  .mobile-menu ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
  
  @media (max-width: 768px) {
    .menu-button {
      display: block;
    }
  
    .mobile-menu {
      display: flex;
    }
  }
  .menu-button {
    display: none;
    background-color: #004080;
    color: white;
    padding: 10px;
    cursor: pointer;
    text-align: center;
    border-radius: 5px;
  }
  
  .menu-button span {
    font-size: 20px;
  }
  
  .mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #004080;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease-in-out;
  }
  
  .mobile-menu ul {
    list-style: none;
    padding: 0;
  }
  
  .mobile-menu ul li {
    margin: 0;
    padding: 10px;
    text-align: center;
  }
  
  .mobile-menu ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
  
  @media (max-width: 768px) {
    .menu-button {
      display: block;
    }
  }
  