/* Nav  */


/* Augmenter la taille de la police du texte */
.navbar-nav .nav-link {
  font-size: 18px;
  /* Taille du texte plus grande pour une meilleure lisibilité */
  color: black;
  /* Couleur par défaut des liens */
  transition: color 0.3s ease, cursor 0.3s ease;
  /* Animation fluide pour le hover */
}

.navbar-nav .nav-link:hover {
  color: red;
  /* Couleur rouge au survol */
  cursor: pointer;
  /* Curseur changeant lors du survol */
}

.navbar-brand {
  font-size: 22px;
  /* Augmenter la taille du texte de la marque */
  font-weight: bold;
  /* Mettre en gras */
}

.navbar .dropdown-menu {
  background-color: white;
  /* Fond blanc du menu déroulant */
}

.dropdown-item:hover {
  color: red;
  /* Couleur rouge au survol des items du menu déroulant */
}

/* Ombre sous la barre de navigation */
.fixed-top {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Image du logo (ajuster la taille si nécessaire) */
.navbar-brand img {
  max-width: 108px;
  /* Largeur max du logo */
  height: auto;
}

.masthead {
  color: white;
  /* Changez la couleur du texte si nécessaire */
  text-align: center;
  /* Centrer le texte */
}

.masthead-subheading {
  font-size: 1.5rem;
  /* Ajustez la taille de la police */
}

.masthead-heading {
  font-size: 2.5rem;
  /* Ajustez la taille de la police */
  margin-bottom: 20px;
  /* Espace entre les titres */
}


@media (min-width: 768px) {
  .masthead {
    padding-top: 17rem;
    padding-bottom: 12.5rem;
  }

  .masthead .masthead-subheading {
    font-size: 2.25rem;
    font-style: italic;
    line-height: 2.25rem;
    margin-bottom: 2rem;
  }

  header_pad.masthead .masthead-heading {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 4.5rem;
    margin-bottom: 4rem;
  }
}


/* Box */

/* Style pour la carte flip */
.flip-box {
  perspective: 1000px;
  background-color: white;
  /* Fond blanc */
  transition: box-shadow 0.3s ease;
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-box:hover {
  box-shadow: 0 0 20px red;
  /* Glow rouge au survol */
}

.flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}

.flip-box-front,
.flip-box-back {
  position: absolute;
  width: 100%;
  backface-visibility: hidden;
}

.flip-box-back {
  transform: rotateY(180deg);
}

.card {
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* Ombre grise douce */
}

.bg-image {
  background-image: url('bg-footer1.jpg');
  background-size: cover;
  background-position: center;
}

/* Réactivité : centrage vertical sur les petits appareils */
.min-vh-100 {
  min-height: 100vh;
}

/* 
Card Box
*/

/* Box flip effect */
/* Global Styles */
body {
  background-color: #f8f9fa;
  font-family: 'Arial', sans-serif;
}

.custom-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.custom-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.icon {
  font-size: 3rem;
  color: #D32F2F;
  /* One Red Color */
}

.card-title {
  font-size: 1.25rem;
  margin-top: 1rem;
  font-weight: 600;
}

.card-link {
  text-decoration: none;
  color: inherit;
}

/* Hover Animation on Icon */
.custom-card:hover .icon {
  color: #EF5350;
  transition: color 0.3s;
}

.icon {
  font-size: 40px;
  color: #D32F2F;
  /* One Red Color */
}

/* Ensure responsiveness */
@media (max-width: 768px) {

  .flip-box-front,
  .flip-box-back {
    font-size: 14px;
  }
}

/* SLide anime  */

/* Custom scrolling effect */
.scrolling-wrapper {
  overflow: hidden;
}

.scrolling-wrapper .carousel-item {
  display: flex;
  animation: scroll 10s linear infinite;
}

.scrolling-wrapper:hover .carousel-item {
  animation-play-state: paused;
}

/* Animation for infinite scrolling */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Logos styling */
.carousel-item img {
  max-height: 80px;
  object-fit: contain;
}

/* Optional styling for more spacing between images */
.carousel-item a {
  margin-right: 20px;
}


/* section  */
/* Custom styles for triangles and positioning */
.triangle-shapes {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.triangle-shapes::before,
.triangle-shapes::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

/* First triangle */
.triangle-shapes::before {
  border-width: 100px 60px 0 60px;
  border-color: #F44336 transparent transparent transparent;
  top: 50px;
  left: -30px;
}

/* Second triangle */
.triangle-shapes::after {
  border-width: 70px 40px 0 40px;
  border-color: #EF5350 transparent transparent transparent;
  top: 150px;
  left: 80px;
}

/* General styles */
h1 {
  color: #333;
  font-size: 2.5rem;
  line-height: 1.2;
}

.lead {
  color: #555;
  font-size: 1.125rem;
}

.btn-primary {
  background-color: #D32F2F;
  border: none;
  padding: 10px 20px;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #B71C1C;
}

h4 {
  color: #333;
}

img {
  z-index: 2;
  position: relative;
}

.whatsapp_float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  box-shadow: 1px 1px 2px #888;
  z-index: 1000;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.whatsapp-icon {
  font-size: 24px;
  color: white;
}

.aboutus {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.aboutus img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.progress-bar {
  background-color: #B71C1C;
}

.bar-width {
  color: #fff;
  font-weight: bold;
}

/* Animation */
@keyframes fadeInGlow {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-card {
  margin: 20px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  background-color: white;
  animation: fadeInGlow 1s ease-in-out;
  transition: box-shadow 0.3s;
}

.team-card:hover {
  box-shadow: 0px 4px 20px rgba(255, 0, 0, 0.6);
  /* Red glow on hover */
}

.team-card img {
  border-radius: 10px;
}

.team-card h4 {
  margin-top: 15px;
}

.team-card p {
  color: #555;
}

#share-dialog a {
  display: block;
  text-align: center;
  margin-bottom: 10px;
}

#share-dialog button {
  display: block;
  margin: 10px auto 0;
}

/* Center navbar items */
.navbar .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Navbar link styles */
.nav-link {
  position: relative;
  color: #333;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
  font-weight: 500;
}

/* Hover effect with background glow */
.nav-link:hover {
  color: #fff;
  background-color: #D32F2F;
  /* Bright background color on hover */
  box-shadow: 0 0 15px rgba(211, 47, 47, 0.6);
  /* Glowing effect */
  border-radius: 5px;
  /* Smooth rounded corners */
}

/* Hover underline effect */
.nav-animated::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #D32F2F;
  transition: width 0.3s ease;
}

.nav-animated:hover::after {
  width: 100%;
}

/* Glowing text animation */
.nav-link:hover {
  animation: glow 1s ease-in-out infinite alternate;
}

/* Text glowing effect */
@keyframes glow {
  0% {
    text-shadow: 0 0 5px rgba(211, 47, 47, 0.8), 0 0 10px rgba(211, 47, 47, 0.8), 0 0 15px rgba(211, 47, 47, 0.8);
  }

  100% {
    text-shadow: 0 0 20px rgba(211, 47, 47, 1), 0 0 30px rgba(211, 47, 47, 1), 0 0 40px rgba(211, 47, 47, 1);
  }
}

/* Icon animation - slight rotation on hover */
.nav-link i {
  transition: transform 0.3s ease;
}

.nav-link:hover i {
  transform: rotate(15deg);
}


/* Default styles for nav-link icons */
.nav-link i {
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Animation when the nav item is active */
.nav-link.active i {
  animation: iconAnimation 1s ease-in-out infinite;
  /* Loop animation indefinitely */
  color: #ffcc00;
  /* Change icon color when active */
}

/* Define the animation for the active icon */
@keyframes iconAnimation {
  0% {
    transform: rotate(0deg);
    /* No rotation */
    opacity: 1;
    /* Fully visible */
  }

  50% {
    transform: rotate(15deg);
    /* Slight rotation */
    opacity: 0.7;
    /* Slightly transparent */
  }

  100% {
    transform: rotate(0deg);
    /* Back to normal */
    opacity: 1;
    /* Fully visible again */
  }
}


/* Section styling */
.partners-section {
  background-color: #f8f9fa;
  /* Light background */
  padding: 40px 0;
}

.section-title {
  font-size: 2rem;
  color: #333;
  font-weight: 700;
}

.section-subtitle {
  color: #777;
  font-size: 1.25rem;
}

/* Partners Row */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Partner Card */
.partner-card {
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 10px;
}

.partner-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.partner-logo {
  width: 100px;
  height: auto;
  margin-bottom: 15px;
}

.partner-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
}

.partner-description {
  color: #777;
  font-size: 1rem;
}