
 /* Variables CSS */
:root {
  --primary-color: #4ea6f0;
  --accent-color: #9C27B0;
  --hover-color: #6dd5ed;
  --background-dark: #2c2c2c;
  --text-light: #ccc;
}
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #dedada;
    color: rgb(95, 92, 92);
  }
  
  .header {
    position: relative;
    background-color: #fff;
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e2e0e0;
    color: rgb(9, 8, 8);
    padding: 1rem;
    position: relative;
    flex-wrap: wrap;

  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 10px;
  }
  
  .logo img {
    height: 40px;
    width: auto;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .menu-icon {
    font-size: 1.5rem;
    cursor: pointer;
  }

  .welcome {
    padding: 2rem;
    text-align: center;
  }
  
  .welcome h2 {
    color: var(--accent-color);
    margin-bottom: 1rem;
  }
  
  .testimonial {
    background-color: var(--primary-color);
    padding: 2rem;
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    color: rgb(248, 243, 243);
  }
  
  .testimonial span {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: white;
  }
  
  .contact {
    background-color: var(--background-dark);
    padding: 2rem;
    text-align: center;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
  }
  
  .info {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
  }
  
  .item {
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    min-width: 150px;
  }
  
  .item h4 {
    margin: 0.5rem 0;
    color: var(--text-light);
  }
  
  .social {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .social .icon {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .social a {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.2rem;
  }
  
  .principale {
    list-style: none;
    display: flex;
    gap: 5px;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    position: absolute;
    right: 5%;
    top: 30%;
    transform: none;
    flex-wrap: wrap;
  }
  
  .principale li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    position: relative;
    padding: 10px 20px;
    border-radius: 25px;
    transition: background-color 0.3s ease;
    flex-wrap: nowrap;
    color: #8304f3 !important;
  }
  #theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
    transition: color 0.3s ease;
    position: relative;
    top: 0;
    left: 96%
  
  }
  
  #theme-toggle:hover {
    color: #f39c12; /* Une couleur sympa au survol */
  }
  
  @media (max-width: 768px) {
    .navbar {
      flex-direction: column;
      align-items: flex-start;
    }
  
    #theme-toggle {
      align-self: flex-end;
      margin-top: 10px;
    }
  }
  
  
  /* Hover (optionnel) */
  .principale li a:hover {
    background-color: rgba(0, 0, 0, 0.05); /* ou une autre couleur douce */
  }
  
  /* Style actif */
  .principale li.active a {
    background-color: rgba(0, 0, 0, 0.1); /* change selon ton thème */
    font-weight: bold;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
  }
  
  /* Soulignement sous l'actif (si tu veux garder) */
  .principale li.active a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%);
    width: 10px;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 1px;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .principale {
      display: none;
      flex-direction: column;
      background-color: #f7f0f0;
      position: absolute;
      top: 60px;
      right: 20px;
      padding: 10px;
      border-radius: 8px;
      justify-content: space-around;
    }
  }
  
  .search-icon {
    font-size: 18px;
    color: #e5f04e;
    cursor: pointer;
  }
  
  .cheepchat-brand {
    margin-top: -29px;
    font-size: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 80%;
    left: 14px;
    color: #8304f3 !important;

  }
  
  .section {
    padding: 40px;
    background-color: #f8f8f8;
  }
  
  .services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  
  .service {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: calc(33.333% - 40px);
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .service:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }
  
  .services-title h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333;
  }
  
  .services-title img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
  }
  
  .service p {
    margin-top: 15px;
    color: #666;
    font-size: 0.95em;
  }
  
  @media (max-width: 992px) {
    .service {
      width: calc(50% - 30px);
    }
  }
  
  @media (max-width: 600px) {
    .service {
      width: 100%;
    }
  }
  
  h2 span {
    color: var(--accent-color);
    font-size: 2em;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    margin-top: 20px;
  }
  
  h2 {
    text-align: center;
  }
  
  .youtube-logo1 {
    display: block;
    margin: 30px auto;
    width: 150px;
    max-width: 100%;
  }
  
  .testimonial .auteur {
    font-size: 0.9rem;
    font-weight: normal;
    margin-top: 1rem;
  }
  
  .footer {
    background-color: var(--background-dark);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 3rem 2rem;
    color: var(--text-light);
    text-align: center;
  }
  
  .contact-item {
    flex: 1 1 200px;
    margin: 1rem;
  }
  
  .contact-item .icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: inline-block;
  }
  
  .contact-item h4 {
    margin: 0.5rem 0;
    color: var(--text-light);
    font-weight: bold;
  }
  
  .contact-item p {
    color: var(--primary-color);
    margin: 0;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  .social-icons a {
    color: var(--primary-color);
    font-size: 1.5rem;
    background-color: #444;
    padding: 10px;
    border-radius: 50%;
    transition: background 0.3s, transform 0.3s;
  }
  
  .social-icons a:hover {
    background-color: var(--hover-color);
    color: #2c2c2c;
    transform: scale(1.1);
  }
  
  @media (max-width: 768px) {
    .footer {
      flex-direction: column;
      align-items: center;
    }
  }
  
  .social-icons .custom-icon img {
    width: 35px;
    height: 35px;
    object-fit: cover;
    border-radius: 50%;
  }
  
  /* MODE SOMBRE */
.dark-mode {
  background-color: #f2eeee;
  color: #171717;
}

.dark-mode .navbar,
.dark-mode .footer,
.dark-mode .hero,
.dark-mode .testimonial,
.dark-mode .section,
.dark-mode .welcome {
  background-color: #1a1a1a;
  color: #e0e0e0;
}

.dark-mode .logo span,
.dark-mode .principale li a,
.dark-mode .contact-item h4,
.dark-mode .service h3 {
  color: #4ea6f0;
}

.dark-mode .social-icons a i {
  color: #87cefa;
}
#theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  margin-left: 20px;
  color: #000000;
  transition: transform 0.3s ease, color 0.3s ease;
  position: relative;
  margin-left: 2%;
}

/* Mode sombre */
body.dark-mode {
  background-color: #121212;
  color: white;
}

/* Style de l’icône */
#theme-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  color: black; /* par défaut */
}

body.dark-mode #theme-toggle {
  color: white; /* en mode sombre */
}
.container {
  display: flex;
  align-items: center;  /* Centre verticalement */
  justify-content: center;  /* Aligne les éléments au centre */
  gap: 70px;  /* Ajoute de l'espace entre l'image et le texte */
  padding: 40px 20px;  /* Espacement interne pour éviter que le contenu touche les bords */
  background-color: #f0f0f0;  /* Couleur de fond douce pour la section */
  border-radius: 10px;  /* Coins arrondis pour le conteneur */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);  /* Ombre subtile pour un effet de profondeur */
}

.container img {
  width: 15%;  /* Image à 50% de la largeur */
  height: auto;
  border-radius: 50%;  /* Coins arrondis de l'image */
  object-fit: cover;  /* Assure que l'image reste bien ajustée sans déformation */
  border: 5px solid #7567f2;
}

.text-container {
  width: 50%;  /* Text container à 50% */
  padding-left: 30px;  /* Plus d'espacement entre l'image et le texte */
  font-family: 'Arial', sans-serif;  /* Choix de police moderne */
}

h1 {
  font-size: 2.8em;  /* Taille de police large et moderne */
  font-weight: bold;  /* Gras pour plus de présence */
  color: #212020;  /* Texte en couleur sombre pour plus de contraste */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);  /* Ombre douce au texte pour le faire ressortir */
  line-height: 1.3;  /* Espacement entre les lignes pour une lecture plus fluide */
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;  /* En petits écrans, les éléments passent en colonne */
    align-items: center;
    padding: 20px;  /* Moins d'espacement interne sur petits écrans */
  }

  .container img, .text-container {
    width: 100%;  /* 100% de la largeur sur petits écrans */
    padding-left: 0;  /* Supprime l'espacement entre l'image et le texte */
    margin-bottom: 25px;  /* Ajoute un espace entre l'image et le texte */
    border-radius: 50px;
  }

  h1 {
    font-size: 2.2em;  /* Réduit la taille du texte pour les petits écrans */
  }
}
.container p {
  font-size: 1.1rem;        /* Taille de la police */
  line-height: 1.6;         /* Hauteur de ligne pour une meilleure lisibilité */
  color: #333;              /* Couleur du texte */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Police lisible et moderne */
  text-align: justify;      /* Justification du texte */
  margin-top: 10px;         /* Espace au-dessus */
}

html {
  scroll-behavior: smooth;
}
a[href^="mailto:"] {
  color: #3498db; /* Bleu par exemple */
  text-decoration: none; /* Enlève le soulignement si tu veux */
}

a[href^="mailto:"]:hover,
a[href^="mailto:"]:active,
a[href^="mailto:"]:visited {
  color: #3498db; /* Même bleu dans tous les cas */
}
a[href^="mailto:"] {
  color: #3498db;
  text-decoration: none;
}

a[href^="mailto:"]:hover,
a[href^="mailto:"]:visited {
  color: #3498db;
  text-decoration: none;
}

a[href^="mailto:"]:active {
  color: #3498db;
  text-decoration: underline;
}
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.about-us {
  display: flex;
  flex-wrap: wrap;
  padding: 40px;
  background-color: #fff;
}

.content {
  flex: 1;
  min-width: 300px;
  padding-right: 30px;
}

.content h1 {
  color: #1e58f7;
  font-size: 2.5em;
  margin-bottom: 10px;
}

.content h3 {
  margin-top: 30px;
  color: #333;
}

.content p {
  color: #444;
  line-height: 1.6;
}

.image {
  flex: 1;
  min-width: 300px;
}

.image img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}




    