/* Style de l'en-tête */
header {
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    color: var(--white);
    padding: 20px;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

    display: flex;
    justify-content: space-between; /* Utilise space-between pour séparer le logo et les icônes */
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px; /* Limite la largeur du contenu principal */
    margin: 0 auto;
}

header h1 {
    font-size: 2.5rem;
    margin: 0;
    text-align: left;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Le logo est aligné à gauche */
}

.logo img {
    height: 50px; /* Ajuste la hauteur du logo */
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-end; /* Les icônes sont alignées à droite */
}

.social-icons a img {
    width: 30px;
    height: 30px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    header {
        flex-direction: column; /* Les éléments sont empilés sur les petits écrans */
        align-items: center;
        text-align: center;
    }

    .logo {
        margin-bottom: 10px;
    }

    .social-icons {
        justify-content: center; /* Centre les icônes */
    }
}

:root {
    --cyan: #00AEEF;
    --magenta: #EC008C;
    --yellow: #FFF200;
    --black: #231F20;
    --white: #FFFFFF;
    --grey-light: #F4F4F4;
    --grey-dark: hsl(0, 0%, 33%);
}

#whatsapp-button {
    position: fixed; /* Le bouton reste fixé même lorsque l'utilisateur fait défiler la page */
    bottom: 20px; /* Distance du bas de la page */
    right: 20px; /* Distance du bord droit */
    z-index: 1000; /* Assure que le bouton soit visible au-dessus d'autres éléments */
    display: flex; /* Utilise flex pour centrer l'image dans le bouton */
    align-items: center; /* Centre l'image verticalement */
    justify-content: center; /* Centre l'image horizontalement */
    width: 60px; /* Taille du bouton */
    height: 60px; /* Taille du bouton */
    background-color: #25D366; /* Couleur d'arrière-plan verte de WhatsApp */
    border-radius: 50%; /* Forme circulaire */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Ombre légère */
    cursor: pointer; /* Le curseur devient une main pour indiquer qu'il est cliquable */
    overflow: hidden; /* Empêche l'image de déborder du bouton circulaire */
}


#whatsapp-button img {
    width: 40px; /* Taille de l'icône */
    height: 40px; /* Taille de l'icône */
    object-fit: cover; /* L'icône s'adapte sans déformation dans le cercle */
}




/* Style pour la section Contact Info */
.contact-info {
    background-color: #1f68c2;  /* Couleur de fond */
    padding: 20px;  /* Espacement autour du contenu */
    margin-top: -1px;  /* Pour coller au header (si nécessaire) */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);  /* Optionnel, ajout d'une légère ombre */
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;  /* Espacement entre les items */
}

.contact-item img {
    width: 24px;  /* Ajuste la taille des icônes */
    height: 24px;
    margin-right: 10px;  /* Espacement entre l'icône et le texte */
}

.contact-item span {
    font-size: 16px;  /* Taille du texte */
    color: black;  /* Couleur du texte */
    text-decoration: none;
}

/* Pour rendre la section responsive */
@media (max-width: 768px) {
    .contact-item {
        flex-direction: column;  /* Met les icônes et le texte en colonne sur petits écrans */
        align-items: flex-start;
    }

    .contact-item img {
        margin-right: 0;
        margin-bottom: 5px;  /* Espacement pour les icônes sur petits écrans */
    }
}

.menu-icon{
    background-color: #00AEEF;
}


    .container img {
        height: 60px;
        margin-right: 10px;
        display: block; /* Assure que l'image s'affiche bien */
    }

    .image-container img:hover {
        transform: scale(1.1);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }
    .btn {
        display: inline-block;
        background-color: #5d8bd4;
        color: #fff;
        padding: 8px 16px;
        border-radius: 8px;
        text-decoration: none;
        transition: background-color 0.3s ease;
        font-weight: bold;
      }
      
      .btn:hover {
        background-color: #3a6ebd;
      }
      
    /* Style du bouton */
    .button-container {
        text-align: center;
        margin-top: 20px;
    }

    .button-container button {
        background-color: #5d8bd4;
        color: white;
        border: none;
        padding: 10px 20px;
        font-size: 18px;
        cursor: pointer;
        border-radius: 5px;
    }

    .button-container button:hover {
        background-color: #3a6ebd;
    }

    /* Style du formulaire caché */
    #form-container {
        display: none;
        text-align: center;
        margin-top: 20px;
    }

    #form-container form {
        display: inline-block;
        background: white;
        padding: 20px;
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    #form-container label,
    #form-container input,
    #form-container button {
        display: block;
        margin: 10px auto;
    }

    
    .content {
        position: relative;
        color: white;
        text-align: center;
        padding: 50px;
        z-index: 1;
    }

    /* Style de la navigation */
    nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        align-items: center;
    }

    nav ul li {
        margin: 0 10px;
    }

    nav ul li a {
        color: white;
        text-decoration: none;
        font-size: 18px;
    }

    nav ul li a:hover {
        text-decoration: underline;
    }

    /* Style de la phrase juste après l'en-tête */
    main p {
        margin-top: 50px; /* Crée un espace sous l'en-tête */
        text-align: center;
        color: white;
        font-size: 24px;
        background-color: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
        padding: 15px;
        border-radius: 10px;
        z-index: 5;
    }

    /* Style du texte personnalisé 


    

    /* PARTIE SERVICES DEBUT BODY */


    /* Ajout d'un conteneur pour le texte avec un arrière-plan personnalisé */

    .text-container {
        background: rgba(255, 255, 255, 0.8); /* arrière-plan blanc semi-transparent */
        padding: 20px;                        /* espacement intérieur */
        text-align: left;                     /* alignement du texte à gauche */
        border-radius: 8px;                   /* coins arrondis pour harmoniser avec .service */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* légère ombre pour un effet de relief */
    }
    
    /* Vous pouvez garder votre style actuel pour .service */
    .service {
        display: flex;
        align-items: flex-start;
        gap: 1.5rem;
        margin-bottom: 2rem;
        background: #ffffff00;
        padding: 1.5rem;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(75, 66, 66, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    } 
    .services-section {
        text-align: center;
        padding: 50px 20px;
        background: #f9f9f9;
    }
    .services-section h3 {
        font-size: 50px;
        font-weight: bold;
        color: #13304e;
        text-transform: uppercase;
        margin-bottom: 10px;
        letter-spacing: 2px;
    }
    
    .service:hover {
        transform: none;
        box-shadow: none;
    }
    .service:hover .text-container {
        transform: none;
        box-shadow: none;
    }
    /* Sous-titre */
.services-section h3:nth-of-type(2) {
    font-size: 26px;
    color: #34495e;
    margin-top: 20px;
}
/* Description */
.services-section p {
    font-size: 18px;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}
.card {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}
footer {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}





    /* Style des groupes d'input */
    .input-group {
        display: flex;
        flex-direction: column;
        margin-right: 20px; /* Espace entre les champs */
        flex: 1;
    }

    /* Style des labels */
    .input-group label {
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 8px;
        color: #333;
    }

    /* Style des champs de texte */
    .contact-form input {
        padding: 12px;
        margin-bottom: 20px;
        border: 2px solid #ddd;
        border-radius: 8px;
        font-size: 16px;
        color: #333;
        background-color: #f9f9f9;
        transition: border-color 0.3s ease;
    }


/* Responsive Design */
@media (max-width: 768px) {
    .services-section h3 {
        font-size: 36px;
    }

    .services-section p {
        font-size: 16px;
        padding: 0 15px;
    }

    .products {
        flex-direction: column;
        align-items: center;
    }

    .product-card {
        width: 90%;
    }
}

/* Conteneur des produits */
.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Cartes des services */
.product-card {
    background: white;
    width: 250px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Image du produit */
.product-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
    .product-card:hover img {
        transform: scale(1.1); /* Agrandissement de l'image au survol pour un effet de zoom */
    }

/* Titre du produit */
.product-card h2 {
    font-size: 20px;
    margin: 15px 0;
    color: #333;
}

.product-card .price {
    background: #3498db;
    color: white;
    font-size: 16px;
    padding: 8px 15px;
    display: inline-block;
    border-radius: 5px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}
    /* Bande sous le header */
    .top-banner {
        background-color: #4CAF50;  /* Fond vert */ 
        color: #fff;  /* Texte en blanc */
        text-align: center;  /* Centrer le texte */
        padding: 0.1rem 0;  /* Espacement autour du texte */
        font-size: 1.5rem;  /* Taille du texte */
        font-weight: bold;  /* Texte en gras */
        letter-spacing: 1px;  /* Espacement des lettres */
    }

    .product-card .price:hover {
        background: #2980b9;
    }


    /* Image */
    .image3{
        display: flex; /* Active l'alignement horizontal */
        justify-content: center; /* Centre les images horizontalement */
        align-items: center; /* Aligne les images verticalement */
        gap: 20px; /* Espacement entre les images */
        flex-wrap: wrap; /* Permet un retour à la ligne si l'écran est trop petit */
    }
    
    .image3 img {
        width: 150px; /* Taille uniforme pour toutes les images */
        height: auto; /* Conserve les proportions des images */
        border-radius: 10px; /* Coins arrondis (optionnel) */
        transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation au survol */
    }
    
    .image3 img:hover {
        transform: scale(1.1); /* Zoom sur l'image au survol */
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Ombre élégante */
    }

h3 {
    text-align: center;
    font-size: 30px;
    color: #000000;
}

p {
    font-size: 1.1em;
}

form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

button {
    padding: 12px 30px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    display: block;
    margin: 20px auto;
}

button:hover {
    background-color: #0056b3;
}

.social-links {
    text-align: center;
    margin-top: 30px;
}

.social-links a {
    margin: 0 10px;
    font-size: 1.5em;
    text-decoration: none;
}

.social-links a:hover {
    opacity: 0.7;
}










/* Réinitialisation et stabilité de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    padding: 10px;
  }
  
  /* Conteneur principal */
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
  }
  
  /* Header et navigation */
  .header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .logo img {
    max-width: 100%;
    height: auto;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
  }
  
  nav ul li {
    margin: 5px 10px;
  }
  
  nav ul li a {
    text-decoration: none;
    font-size: 18px;
    padding: 10px;
    color: #333;
    transition: color 0.3s;
  }
  
  nav ul li a:hover {
    color: #007bff;
  }
  
  /* Section principale */
  main {
    text-align: center;
  }
  
  #hero img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
  }
  
  /* Boutons et formulaires */
  button, input {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    font-size: 16px;
    margin: 5px 0;
  }
  
  /* Produits */
  .products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .product-card {
    width: 100%;
    max-width: 300px;
    text-align: center;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  }
  
  .product-card img {
    max-width: 100%;
    height: auto;
  }
  
  /* Partenaires */
  .image-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  
  .image-container img {
    width: 80px;
    height: auto;
  }
  
  /* Responsiveness */
  @media (max-width: 768px) {
    .header-content {
      flex-direction: column;
    }
  
    nav ul {
      flex-direction: column;
      align-items: center;
    }
  
    nav ul li {
      width: 100%;
      text-align: center;
    }
  
    .product-card {
      width: 90%;
    }
  }
  


  /* Définition des couleurs principales */
:root {
    --primary: #00AEEF;
    --secondary: #EC008C;
    --accent: #F1C40F;
    --dark: #2C3E50;
    --light: #F4F4F4;
    --white: #FFFFFF;
    --black: #231F20;
}

/* Style de l'en-tête */
header {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 20px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
}

header h1 {
    font-size: 2.5rem;
    margin: 0;
    text-align: left;
}

/* Style du logo */
.logo img {
    height: 60px;
}

/* Navigation */
header nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

header nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    transition: 0.3s ease;
}

header nav ul li a:hover {
    background-color: rgba(241, 196, 15, 0.2);
    border-radius: 4px;
    color: var(--accent);
}

/* Style des boutons */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s ease;
    font-weight: bold;
}

.btn:hover {
    background-color: #007bb5;
}

/* Style des services */
.services-section {
    text-align: center;
    padding: 50px 20px;
    background: var(--light);
}

.services-section h3 {
    font-size: 50px;
    font-weight: bold;
    color: var(--dark);
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.services-section p {
    font-size: 18px;
    color: var(--black);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.service {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 15px;
    font-size: 14px;
}
