 /* Styles communs pour tous les écrans Arial*/
 body {
    font-family: 'Poppins' , sans-serif;
    text-rendering: optimizeLegibility;
    background-color: #c3eeaa;
    font-size: 16px;
    font-weight: normal;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Styles pour les écrans mobiles */
@media (max-width: 767px) {
   body {
       text-align: center;
       margin: 0;
   }

   .container {
       max-width: 100%;
       padding-left: 15px;
       padding-right: 15px;
       margin: 0 auto;
   }

    .navbar-brand {
        font-weight:600;
        font-size: 1.5rem;
        text-align: center;
    }

    .hero-image {
        height: 00px;
    }

    .hero-text {
        padding: 20px;
    }

    .header {
        background-color: #333;
        color: white;
    }

    .quisommesnous {
        background-color: #f8f9fa;
        padding: 20px;
        display: flex;
        flex-direction: column;
   flex-direction: column;
   align-items: center;
   text-align: center;
   padding: 60px 0;
    }

    .objectifs {
        background-color: #333;
        padding: 20px;
        text-align: center;
    }

    /* Styles pour la section Nous rejoindre en mode mobile */
    .nous-rejoindre {
        background-color: #f8f9fa;
        padding: 20px;
        text-align: center;
    }

    .contact {
        padding: 20px;
    }

    .form-container {
        margin-bottom: 10px;
    }

    .contact-info {
        padding: 20px;
    }

    footer {
        background-color: #016936;
        color: white;
        text-align: center;
    }
}

.footer-don-button {
    font-size: 16px;
    padding: 20px 50px;
}

/* Styles pour les écrans plus larges (tablettes et au-delà)*/
@media (min-width: 768px) {
    .hero-image {
        height: 400px;
    }

    .hero-text {
        padding: 50px;
    }

    .btn {
        bottom: 20px;
    }

    .contact {
        padding: 50px;
    }

    .form-container {
        margin-bottom: 20px;
    }

    .contact-info {
        padding: 50px;
    }

    footer {
        padding: 20px;
    }
}

.objectifs {
    background-color: #333;
    padding: 20px;
    text-align: center;
    color: white;
}
.nav-item .dropdown-menu {
   display: none;
   position: absolute;
   background-color: #333;
   min-width: 180px;
   z-index: 1;
}

.nav-item:hover .dropdown-menu {
   display: block;
}

.dropdown-item {
   color: whitesmoke;
   padding: 12px 16px;
   text-decoration: none;
   display: block;
}

.dropdown-item:hover {
   background-color: #06bb15;
}
.dropdown-item :active {
    color: rgb(255, 0, 0);
    background-color: #06bb15;
 }
 
/* Media Query pour les écrans de taille supérieure (par exemple, ordinateurs de bureau) */
@media (min-width: 1200px) {
    .btn {
        bottom: 30px;
    }
}

/* Ajoutez ces styles pour ajuster les marges des colonnes des cartes */
@media (min-width: 768px) {
   .quisommesnous .row {
       justify-content: space-between;
   }

   .quisommesnous .col-md-6 {
       flex-basis: calc(50% - 10px);
       margin: 0;
   }
   
   .quisommesnous .col-md-6:first-child {
       margin-right: 10px; 
   }

   .quisommesnous .col-md-6:last-child {
       margin-left: 10px;
   }
}

/* Header styles */
.header {
    background-color: #343a40;
    color: #fff;
}

.header .hero {
   height: 500px;
}


.navbar {
    background: linear-gradient(90deg, #016936, #4ce67d);
    min-height: auto;
}

.navbar-nav {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto;
    align-items: flex-end;
}

.navbar-nav .nav-item {
    margin-left: 15px;
    text-align: center;
    flex-grow: 1;
}

.navbar-brand {
    font-size: 2em;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    margin-left: 0;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 0.5rem 1rem;
    text-align: center;
    display: block;
}

.navbar-nav .nav-link {
    color: #d3dfb6;
    font-size: 1.2em;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #09c244;
}

.nav-link.login-link {
    font-size: 18px;
    transition: color 0.3s;
}

.nav-link.login-link:hover {
    color: #09c244;
}

.navbar-nav .nav-link .fas,
.navbar-nav .nav-link .fab {
    font-size: 16px;
    transition: color 0.3s;
}

.navbar-nav .nav-link .fas:hover,
.navbar-nav .nav-link .fab:hover {
    color: #09c244;
}

.navbar-nav .social-icons {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

.navbar-nav .social-icons .nav-item {
    margin-left: 15px;
}

.social-icon {
    font-size: 20px;
    color: #fff;
    margin-right: 5px;
    text-decoration: none;
}

.social-icons .social-icon {
    margin-right: 20px;
}


@media (max-width: 767px) {
    .navbar-toggler {
        order: -1;
    }

    .navbar-collapse {
        order: 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .navbar-toggler {
        order: -1;
    }

    .navbar-collapse {
        order: 0;
    }
}

.custom-pl-3 {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Hero section styles */
.hero {
    background-size: cover;
    position: relative;
    background-image: url('images/hero-image.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 100px 0;
}

/* Styles pour la section hero */
.hero-image {
    position: relative;
    background-image: url('images/hero-image.jpg');
    background-size: cover;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    font-family: 'Helvetica', sans-serif;
}

.hero-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.hero-text {
    padding: 20px;
    color: #fff;
    animation-duration: 1s;
}

.hero-description {
    font-size: 18px;
    margin-bottom:30px;
    color: whitesmoke;
    border-radius: 100px;
    background-color: #039e50;
}

.btn-primary:hover {
    background-color: #fff;
    color: #555;
    border: 1px solid #fff;
}

/* Styles pour les titres h1 et p avec des animations */
.header h1,
.header p {
    opacity: 0;
    transform: translateY(-20px);
    animation: fade-in 1s ease-in-out forwards;
}

@keyframes fade-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styles pour positionner le bouton en bas de l'image */
.hero {
    position: relative;
}

/* Styles pour le texte "À propos de nous" */
.about-us-text {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.title-obj {
   font-size: 35px;
   color: #fff;
   font-weight: bold;
   text-transform: uppercase;
   text-align: center;
   text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.6);
   letter-spacing: 4px;
   transform: translateZ(5px);
   font-size: 2.5rem;
   margin-bottom: 20px;
}

#objectifs .title-obj {
   color: #fff;
   background-color: #333;
   padding: 10px 20px;
   border-radius: 10px;
   font-size: 16px;
   font-weight: bold;
}

/* Reflet en haut */
.objectifs::before {
   content: "";
   position: absolute;
   top: -10px;
   left: -10px;
   right: -10px;
   height: 10px;
   background: linear-gradient(to bottom, rgba(56, 231, 217, 0.336), transparent);
   border-radius: 20px 20px 0 0;
}

/* Reflet en bas */
.objectifs::after {
   content: "";
   position: absolute;
   bottom: -10px;
   left: -10px;
   right: -10px;
   height: 10px;
   background: linear-gradient(to top, rgba(17, 194, 11, 0.336), transparent);
   border-radius: 0 0 20px 20px;
}

/* Style pour la section Objectifs */
#objectifs {
   border-radius: 30px;
   border: 10px solid #222;
   box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.5);
   position: relative;
   margin: 0 auto;
   max-width: 95%;
}

#objectifs h3 {
   color: #333;
   font-size: 36px;
   font-weight: bold;
   margin-bottom: 20px;
}

#objectifs h2 {
   color: #333;
   font-size: 24px;
}

#objectifs p {
   color: #666;
   font-size: 16px;
   line-height: 1.5;
}

#objectifs a {
   color: #39c951;
   text-decoration: none;
   font-weight: bold;
}

#objectifs .card {
   background-color: #fff;
   border: 2px solid #222;
   border-radius: 15px;
   padding: 20px;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
   transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#objectifs .card:hover {
   transform: scale(1.05);
   box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
   transition: transform 0.5s, box-shadow 0.5s;
}

#objectifs a:hover {
   text-decoration: underline;
}

.objectifs {
   background-color: #333;
   padding: 60px 0;
   text-align: center;
   box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.6);
   width: 100%;
}

#objectifs .btn {
   background-color: transparent;
   color: #555;
   padding: 10px 20px;
   font-size: 18px;
   font-weight: bold;
   text-transform: uppercase;
   border-radius: 25px;
   cursor: pointer;
   transition: background-color 0.3s ease, color 0.3s ease;
   border: 2px solid #555;
   text-decoration: none;
}

#objectifs .btn:hover {
   background-color: #555;
   color: #fff;
   text-decoration: none;
}

#objectifs .title-obj {
   color: #fff;
   background-color: #333;
   padding: 10px 20px;
   border-radius: 10px;
   font-size: 2.5rem;
   font-weight: bold;
}

#vol-img {
   box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.6);
   width: 100%;

}

nav a {
   color: white;
   text-decoration: none;
}

h2 {
   text-align: center;
   padding: 10px
}

/* Ajoutez des styles personnalisés pour les cartes */
.custom-card {
   border: 2px solid #ccc;
   border-radius: 15px;
   margin-bottom: 20px;
   box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
   transition: transform 0.2s, box-shadow 0.2s;
   height: 100%;
   max-width: 100%;
   margin: 0 auto;
}

.custom-card:hover {
   transform: scale(1.05);
   box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.hidden-text {
   display: none;
}

.initial-text {
   display: block;
}


/* Ajout d'un style pour afficher le texte complet */
.show-more {
   display: none;
}

.toggle-button {
   background: none;
   border: none;
   color: #51e451;
   cursor: pointer;
   text-decoration: underline;
}

.fs-2 {
   font-size: 2.5rem;
}

/* Style personnalisé pour la section "Nous rejoindre" */
.nous-rejoindre {
   background-color: #f8f9fa;
   padding: 60px 0;
   text-align: center;
}

.nous-rejoindre p {
   font-size: 18px;
   color: #555;
   margin-bottom: 30px;
}

.nous-rejoindre img {
   max-width: 100%;
   height: auto;
   border-radius: 8px;
   box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.nous-rejoindre .btn-transparent,
.nous-rejoindre .btn-transparent {
   font-size: 20px;
   padding: 15px 30px;
   border-radius: 30px;
   margin-top: 20px;
}

.nous-rejoindre .btn-transparent {
   color: #555;
   font-size: 20px;
   padding: 15px 30px;
   border-radius: 50px;
   transition: background-color 0.3s ease;
   border: 2px solid #222;
   box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.nous-rejoindre .nous-rejoindre {
   background-color: transparent;
   border-color: #555;
   color: #fff;
   transition: background-color 0.3s ease;
}

.nous-rejoindre .btn-transparent:hover,
.nous-rejoindre .nous-rejoindre:hover {
   background-color: #333;
   color: white;
}

/* Styles pour le footer */
footer {
    background-color: #016936;
    color: #fff;
    padding: 50px 0;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-logo {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
}

.footer-section {
    flex: 1;
    margin: 0 10px;
}

.footer-heading {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.footer-text {
    font-size: 14px;
    line-height: 1.6;
}

.social-links {
    margin-top: 20px;
}

.social-link {
    font-size: 24px;
    margin-right: 15px;
    color: #fff;
    text-decoration: none;
}

.social-link:hover {
    color: #00ff73;
}

.footer-btn {
    margin-top: 30px;
}

/* Styles pour les droits d'auteur */
.copyright {
    font-size: 12px;
    margin-top: 30px;
}

/* Définition de l'animation "grow" */
@keyframes grow {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* Style pour les conteneurs de formulaire */
.form-container {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

/* Style pour les titres des sections */
.title-first {
    font-size: 24px;
    color: #030000;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.6);
    transform: translateZ(5px);
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}


/* Style pour les champs de formulaire */
.form-control {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
    width: 100%;
}

/* Style pour les informations de contact */
.contact-info {
    background-color: #f5f5f5;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 30px;
}

/* Style pour les coordonnées */
.contact-info address {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

/* Style pour le texte des heures d'ouverture */
.contact-p {
    font-size: 16px;
    color: #555;
}

.btn-contact {
    bottom: 20px;
    left: 50%;
    display: inline-block;
    font-size: 16px;
    padding: 10px 20px;
    margin: 0;
    background-color: transparent;
    border: 1px solid #222;
    color: #222;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.btn-contact:hover {
    background-color: #016936;
    color: #f5f5f5;
    transform: scale(1.1);
}

/* Style pour le texte du bouton au survol */
.btn-contact:hover::after {
    margin-left: 5px;
    font-size: 18px;
}

/* Style pour les étiquettes des champs */
.form-group label {
    font-weight: bold;
    color: #555;
    font-size: 16px;
}

.btn-primary {
    position: absolute;
    border: 1px solid #fff;
    color: #fff;
    padding: 5px 10px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;
    left: 50%;
    transform: translateX(-50%);
    background-color: #039e50;
    animation: clignoter 3s infinite linear;
}
@keyframes clignoter {
    0%   { opacity:1; }
    0%   {opacity:0; }
    40% { opacity:1; }
  }

p {
    font-size: 18px;
    margin-bottom: 30px;
    animation: fadeIn 1s ease 0.2s;
}

.section {
    margin: 20px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}


/* Styles pour la section about */
.about {
   background-image: url('images/About.jpg');
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
   background-color: rgb(252, 252, 252);
   padding: 50px 50px;
  text-align: justify;
}

.card {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 20px;
    margin: 10px;
    flex: 0 0 calc(50% - 20px);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.card:hover {
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #555;
}

.card-text {
    margin-bottom: 20px;
}

/* Style pour le bouton "S'inscrire" */
.btn-event {
    bottom: 20px;
    left: 50%;
    display: inline-block;
    font-size: 1.2rem;
    padding: 10px 20px;
    margin: 0;
    background-color: transparent;
    border: 1px solid #333;
    color:#555;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.btn-event:hover {
    background-color: #555;
    color: #fff;
    transform: scale(1.1);
}

/* Style pour le texte du bouton au survol */
.btn-event:hover::after {
    margin-left: 5px;
    font-size: 18px;
}
.past-events {
   background-image: url('images/gettyimages-545269118-170667a.jpg');
}

.custom-image {
    width: 100%;
    height: 500px;
}

.quisommesnous {
    background-image: url('images/planet-7014517.svg');
    background-size: cover;
}

#inscription-evenement {
   padding: 20px;
}

#inscription-evenement form {
   border: 2px solid #ccc;
   padding: 20px;
   border-radius: 10px;
   box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
}
.whatsapp-btn-container {
   position: fixed;
   right: 30px;
   opacity: 0;
   bottom: -50px;
   padding: 24px;
   animation: fade-up 1000ms forwards;
   animation-delay: 1000ms;
}

@keyframes fade-up {
   100% {
       bottom: 24px;
       opacity: 1;
   }
}

.whatsapp-btn-container .whatsapp-btn {
   font-size: 48px;
   color: #25d366;
   display: inline-block;
   transition: all 400ms;
}

.whatsapp-btn-container .whatsapp-btn:hover {
   transform: scale(1.2);
}

.whatsapp-btn-container span {
   position: absolute;
   top: 0;
   left: 4px;
   font-family: "Roboto", sans-serif;
   font-weight: bold;
   color: #075e54;
   transform: rotateZ(20deg) translateX(10px);
   opacity: 0;
   transition: all 400ms;
}

.whatsapp-btn-container .whatsapp-btn:hover + span {
   transform: rotateZ(0deg) translateX(0px);
   opacity: 1;
}
