@charset "utf-8";
.log {
    padding: 0px;
    width: 60px;
    margin-left: 15px;
}

.carousel-item {
    width: 100%;
    height: 400px;
}

svg {
    height: 400px;
}

.containe {
    position: relative;
}

.containe img,
.containe svg {
    position: absolute;
    top: 0;
    left: 0;
}

@keyframes move {
    0% {
        transform: translateX(0px);
    }
    100% {
        transform: translateX(70px);
    }
}

.animated-text {
    animation: move 10s linear infinite;
}

/* Cube container to hold the 3D cube */

  .cube-container {
    width: 100px; /* Largeur du cube */
    height: 100px; /* Hauteur du cube */
    position: relative; /* Nécessaire pour l'animation */
}

/* The 3D cube */
.cube {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: spinCube 10s infinite ease-in-out;
}

/* Cube faces */
.cube .face {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color); /* Fallback for missing images */
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  
}
/* Positionnement des faces */
.cube .front {
  transform: rotateY(0deg) translateZ(50px); /* TranslateZ = width / 2 */
}

.cube .back {
  transform: rotateY(180deg) translateZ(50px);
}

.cube .left {
  transform: rotateY(-90deg) translateZ(50px);
}

.cube .right {
  transform: rotateY(90deg) translateZ(50px);
}

.cube .top {
  transform: rotateX(90deg) translateZ(50px);
}

.cube .bottom {
  transform: rotateX(-90deg) translateZ(50px);
}


/* Spinning animation */
@keyframes spinCube {
  0% {
    transform: rotateX(0deg) rotateY(0deg);
  }
  25% {
    transform: rotateX(90deg) rotateY(0deg);
  }
  50% {
    transform: rotateX(90deg) rotateY(90deg);
  }
  75% {
    transform: rotateX(180deg) rotateY(90deg);
  }
  100% {
    transform: rotateX(360deg) rotateY(360deg);
  }
}

/* Ensure the logo image fits the cube face */
.cube .face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Styling for the text in front of the cube */


.logo-text span {
  font-size: 1.2rem; /* Size of the text */
  color: var(--accent-red); /* Text color */
}
/* Arrêter l'animation au survol */
.cube-container:hover .cube {
  animation-play-state: paused; /* Met l'animation en pause */
}

/* Conteneur principal pour le logo et le texte */
.logo-container {
  display: flex; /* Positionne les éléments en ligne horizontale */
  align-items: center; /* Centre verticalement le texte et le cube */
  gap: 15px; /* Espace entre le cube et le texte */
}



/* Positionnement du texte devant le cube */
.logo-text {
  position: absolute; /* Superpose le texte devant le cube */
  top: 50%; /* Aligne verticalement */
  left: 30%; /* Aligne horizontalement */
  transform: translate(-50%, -50%); /* Centre parfaitement */
  z-index: 2; /* Assure que le texte est devant le cube */
  color: var(--text-color); /* Couleur du texte */
  font-size: 1.2rem; /* Taille du texte */
  font-weight: bold; /* Met le texte en gras */
  text-align: center;
  pointer-events: none; /* Le texte ne capte pas les interactions (survol, clic) */

  

  background: rgba(255, 255, 255, 0.8); /* Slight background to enhance readability */
  padding: 5px 10px;
  border-radius: 5px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  font-size: 1.5rem; /* Taille du texte */
  font-weight: bold; /* Texte en gras */
  text-transform: uppercase; /* Texte en majuscules */
  white-space: nowrap; /* Empêche le texte de passer à la ligne */
}

.carousel-caption{
  background: rgba(255, 255, 255, 0.8); /* Slight background to enhance readability */
  color:#1D1D1D;
  padding: 5px 10px;
  border-radius: 5px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  font-size: 1.5rem; /* Taille du texte */
  font-weight: bold; /* Texte en gras */
}


/* Couleurs spécifiques pour chaque réseau social */
.fa-facebook {
  color: #1877F2; /* Bleu Facebook */
  background-color: #fff; /* Fond bleu de Telegram */
  padding: 10px;
  border-radius: 50%; /* Pour un effet arrondi */
}

.fa-x{
  color: #1D1D1D; /* Bleu x */
  background-color: #fff; /* Fond bleu de Telegram */
  padding: 10px;
  border-radius: 50%; /* Pour un effet arrondi */
}

.fa-instagram {
  color: #E4405F; /* Rose Instagram */
  background-color: #fff; /* Fond bleu de Telegram */
  padding: 10px;
  border-radius: 50%; /* Pour un effet arrondi */
}
.fa-telegram {
  background-color: #fff; /* Fond bleu de Telegram */
  color: #0088cc; /* Couleur de l'icône (par exemple, texte ou image) */
  padding: 10px;
  border-radius: 50%; /* Pour un effet arrondi */
}



.fa-whatsapp {
  color: #25D366; /* Vert WhatsApp */
  background-color: #fff; /* Fond bleu de Telegram */
  padding: 10px;
  border-radius: 50%; /* Pour un effet arrondi */
}





@media (max-width: 768px) {
  .cube-container {
    width: 60px;
    height: 60px;
  }
  .logo-text span {
    font-size: 1rem;
  }
  .carousel-item {
    height: 300px;
  }

#logoText{
  display: none;
}

}

.image-container {
  background: rgba(255, 255, 255, 0.8); /* Fond blanc légèrement transparent */
  color: #1D1D1D; /* Couleur du texte */
  border-radius: 5px; /* Coins arrondis */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5); /* Ombre pour effet esthétique */
  overflow: hidden; /* Empêche tout débordement */
  height: auto; /* Ajuste dynamiquement en fonction du contenu */
  padding: 10px; /* Marge intérieure pour l'espace */
  box-sizing: border-box; /* Inclut le padding dans les dimensions */
  margin-left: 25px;
}

.presentation{
  background: rgba(255, 255, 255, 0.8); /* Fond blanc légèrement transparent */
  color: #1D1D1D; /* Couleur du texte */
  border-radius: 5px; /* Coins arrondis */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5); /* Ombre pour effet esthétique */
  overflow: hidden; /* Empêche tout débordement */
}

.contact a {
color: aliceblue;
text-decoration: none;
}


.image-container h1 {
  margin-bottom: 15px; /* Espace sous le titre */
}

.image-container img {
  width: 100%; /* Ajuste l'image à la largeur du conteneur */
  height: auto; /* Conserve les proportions de l'image */
  object-fit: cover; /* Adapte l'image au conteneur tout en respectant ses proportions */
  border-radius: 5px; /* Coins arrondis */
  display: block; /* Supprime les espaces blancs inutiles autour de l'image */
  margin-top: 10px; /* Ajoute un espace entre le titre et l'image */
}

.image-container h1 {
  margin-bottom: 15px; /* Espace sous le titre */
}

/* Section CTA */
.cta-section {
  background: linear-gradient(135deg, #10e783, #2914e2);
  color: #fff;
  padding: 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Animation de fond */
.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
  animation: rotateBg 20s linear infinite;
  z-index: 0;
}

/* Animation de rotation */
@keyframes rotateBg {
  from {
      transform: rotate(0deg);
  }
  to {
      transform: rotate(360deg);
  }
}

/* Contenu CTA */
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

/* Titre */
.cta-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease-in-out forwards;
}

/* Texte */
.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease-in-out forwards;
}

/* Bouton */
.cta-button {
  background: #fff;
  color: #2914e2;
  border: none;
  padding: 15px 30px;
  font-size: 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: bounceIn 1.5s ease-in-out infinite;
}

.cta-button:hover {
  transform: scale(1.1);
  box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.4);
}

/* Animations */
@keyframes fadeInDown {
  from {
      opacity: 0;
      transform: translateY(-20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes bounceIn {
  0%, 100% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-10px);
  }
}

.social-icon i {
  font-size: 2rem; /* Augmente la taille des icônes à 2rem */
  transition: transform 0.3s ease; /* Animation pour effet au survol */
}

.social-icon:hover i {
  transform: scale(1.2); /* Agrandit légèrement l'icône au survol */
}

.social-pic{
 
  text-align: center;
}


/* Centrer les icônes dans le ul */
ul.social-pic {
  display: flex;                /* Active le mode flexbox */
  justify-content: center;      /* Centre les icônes horizontalement */
  align-items: center;          /* Centre les icônes verticalement */
  list-style: none;             /* Supprime les puces */
  padding: 0;                   /* Supprime le padding par défaut */
  margin: 0;                    /* Supprime les marges par défaut */
}