/* Styles généraux */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #99be98;
    min-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f9f6;
    position: relative; /* Assurez-vous que le conteneur a une position définie */
    z-index: 1; /* Place le conteneur en arrière-plan */
    
}

/*  section de recherche  */
.btn-search {
  position: relative;
  top: 1px;
}

/*  section de recherche  */
.btn-search {
  position: relative;
  top: 5px;
}

.info-section {
  width: 100%;
  margin: 0;
  padding: 10px;
}
.info-section {
  background-color: #f4f4f4dc;
  padding: 10px;
  position: relative;
  margin: 0%;
}
.info-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-box i {
  font-size: 24px;
  color: rgb(57, 198, 57);
}

.info-box p {
  margin: 0;
}
  
  nav{
      background-color: rgb(147, 233, 156);
  }
  
  .navbar  span {
  
      font-size: 20 px;
      font-family: Verdana, Geneva, Tahoma, sans-serif;
  }
    .PHOTO { 
      width: 40%;
      height: auto;
      margin-left: 20%;
      border-radius: 20px;
    }

/* Ajustements pour les sections principales */
.bande {
  width: 100%;
  margin: 0;
  padding: 0;
}

.slider-section {
  width: 100%;
  margin: 0;
  padding: 0;
}
.Panel-section {
  width: 100%;
  margin: 0;
  padding: 0;
}
.EVENEMENT {
  width: 100%;
  margin: 0;
  padding: 0;
}
.EVEM {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Règles responsive générales */
@media (max-width: 768px) {
  .container-fluid {
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .row {
    margin: 0;
    width: 100%;
  }

  .col-md-3, .col-md-4, .col-md-9 {
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .card {
    width: 100%;
    margin: 10px 0;
  }

  .news-card {
    width: 100%;
  }

  .sliderr {
    width: 100%;
    margin: 0;
  }

  .slidee .text {
    width: 90%;
    left: 5%;
    font-size: 1.2rem;
  }

  .slidee .link-btn {
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-section {
    width: 100%;
    margin: 10px 0;
  }

  .info-section .row {
    flex-direction: column;
  }

  .info-box {
    width: 100%;
    margin: 10px 0;
  }

  .PHOTO {
    width: 50%;
    margin: 0 auto;
  }

  .carousel-track {
    gap: 15px;
  }

  .carousel-track img {
    height: 60px;
  }
}

@media (max-width: 480px) {
  
  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .navbar-brand {
    text-align: center;
    margin-bottom: 10px;
  }

  .title h1 {
    font-size: 1.5rem;
  }

  .title p {
    font-size: 0.9rem;
  }

  .slider {
    height: 50vh;
  }

  .slidee .text {
    font-size: 1rem;
    padding: 5px 10px;
  }

  .Nom-du-directeur {
    font-size: 1.2rem;
  }

  .text-directeur {
    width: 90%;
    left: 5%;
    font-size: 0.9rem;
  }

  .carte-container {
    padding: 15px;
  }

  .carte-container h2 {
    font-size: 1.2rem;
  }

  .icon i {
    font-size: 30px;
  }
  
}

/* Ajout d'un nouveau conteneur pour le footer */
.footer-container {
    width: 100vw;
    margin: 0;
    padding: 0;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
;
}

.footer {
    background: linear-gradient(to right, #204d2f, #1b381d);
    color: white;
    padding: 30px 20px;
    font-family: Arial, sans-serif;
    width: 100%;
    margin: 0;

}
/*LES ELEMENT FOOTER */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    margin: 10px;
    min-width: 220px;
}

.footer-section h3 {
    margin-bottom: 10px;
    border-bottom: 2px solid #ccc;
    padding-bottom: 5px;
}

.logo {
    width: 150px;
    margin-bottom: 10px;
}

.footer-section input[type="email"] {
    width: 90%;
    padding: 5px;
    margin: 10px 0;
}

.footer-section button {
    padding: 7px 15px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li a {
    text-decoration: none;
    color: white;
    display: block;
    margin: 5px 0;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.footer-section ul li a:hover {
    transform: scale(1.1);
    color: red;
}

.footer-section .social-icons a {
    margin-right: 10px;
    color: white;
    font-size: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #666;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.example-2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.example-2 .icon-content {
    margin: 0 10px;
    position: relative;
}

.example-2 .icon-content .tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    padding: 6px 10px;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    font-size: 14px;
    transition: all 0.3s ease;
}

.example-2 .icon-content:hover .tooltip {
    opacity: 1;
    visibility: visible;
    top: -50px;
}

.example-2 .icon-content a {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #4d4d4d;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover {
    box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}

.example-2 .icon-content a svg {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
}

.example-2 .icon-content a:hover {
    color: white;
}

.example-2 .icon-content a .filled {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #000;
    transition: all 0.3s ease-in-out;
}

.example-2 .icon-content a:hover .filled {
    height: 100%;
}

.example-2 .icon-content a[data-social="whatsapp"] .filled,
.example-2 .icon-content a[data-social="whatsapp"] ~ .tooltip {
    background-color: #128c7e;
}

.example-2 .icon-content a[data-social="facebook"] .filled,
.example-2 .icon-content a[data-social="facebook"] ~ .tooltip {
    background-color: #3b5998;
}

.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"] ~ .tooltip {
    background: linear-gradient(
        45deg,
        #405de6,
        #5b51db,
        #b33ab4,
        #c135b4,
        #e1306c,
        #fd1f1f
    );
}

.example-2 .icon-content a[data-social="youtube"] .filled,
.example-2 .icon-content a[data-social="youtube"] ~ .tooltip {
    background-color: #ff0000;
}

/*  LES ELEMNTS DU  CONTENU    */

/*contenaire de reseau et partenareats */

.liens{
    font-family: 'Times New Roman', Times, serif;
    font-size: 24px;
  }
  .liens a {
    text-decoration: none;
    color: #0e0202;
    font-weight: bold;
  }
  .liens a:hover {
    color: #ec0d0d;
  }

.group-cont {
    background-color: rgb(204, 233, 204);
    padding: 15px;
}
.partenareat-text {
  position: relative;
  text-align: center;
}
