/* Style général */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Top Bar */
.top-bar {
    background-color: #fff;
    color: #010242;
    padding: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

/* Logo */
.logo img {
    width: 180px;
    height: auto;
}

/* Main Menu */
/* Menu principal */
.main-menu ul {
    list-style-type: none;
    margin: 0;
    padding:10px;
    display: flex;
    justify-content: space-around;
    background-color: #005a48;
    
}

.main-menu ul li {
    position: relative;
}

.main-menu ul li a {
    display: block;
    padding: 12px 17px;
    text-decoration: none;
    color: #fff;
}

.main-menu ul li a:hover {
    background-color: #f79502;
}

.main-menu ul li a i {
    margin-right: 8px;
}

/* Menu déroulant */
.main-menu ul li.dropdown ul {
    display: none;
    position: absolute;
    background-color: #f6f6fa;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 17px;
    top: 100%;
    left: 0;
    width: 200px;
}

.main-menu ul li.dropdown:hover ul {
    display: block;
}

.main-menu ul li.dropdown ul li {
    padding: 10px;
    text-align: left;
}

.main-menu ul li.dropdown ul li a {
    color: #333;
    padding: 10px;
}

.main-menu ul li.dropdown ul li a:hover {
    background-color: #ddd;
}

/* Responsive design */
@media (max-width: 768px) {
    .main-menu ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-menu ul li {
        width: 100%;
    }

    .main-menu ul li.dropdown ul {
        position: relative;
        top: 0;
        width: 100%;
    }
}

/* Responsive Menu Button */
.menu-button {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-button div {
    width: 25px;
    height: 3px;
    background-color: #f79502;
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .main-menu {
        position: fixed;
        left: -400px;
        top: 65px;
        height: 61%;
        width: 350px;
        border-radius: 12px;
        transition: left 0.3s ease;
        z-index: 1000;
        padding-top: 20px;
        flex-direction: column;
    }

    .main-menu ul {
        flex-direction: column;
    }

    .main-menu ul li a {
        color: #f79502;
        font-size: 1.2em;
        padding: 10px;
    }

    .main-menu ul li a:hover {
        color: #052214;
        font-weight: bold;
    }

    .main-menu.active {
        left: 0;
    }

    .menu-button {
        display: block;
    }

    .logo-and-menu {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
}

/* Styles du slider d'image */
.slider-container {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/assets/images/acceuimlle 1.jpg');
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.glide {
    width: 100%;
    margin: auto;
    overflow: hidden;
}

.glide__slide {
    text-align: center;
    padding: 20px;
}

.glide__slide img {
    display: block;
    height: 200px;
    width: 200px;
    border-radius: 10px;
    object-fit: cover;
    border: #fff solid 5px;
    margin: auto;
}

.glide__slide h4 {
    color: #fff;
    font-size: 0.9rem;
    margin-top: 10px;
}

.glide__arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.glide__arrow {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 20px;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.glide__arrow:hover {
    background-color: #fff;
    color: #000;
}

@media (max-width: 768px) {
    .slider-container {
        height: 400px;
    }

    .glide__slide img {
        height: 150px;
        width: 150px;
    }

    .glide__slide h4 {
        font-size: 0.7rem;
    }

    .glide__arrow {
        font-size: 18px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 300px;
    }

    .glide__slide img {
        height: 120px;
        width: 120px;
    }

    .glide__slide h4 {
        font-size: 0.7rem;
    }

    .glide__arrow {
        font-size: 16px;
        padding: 6px 10px;
    }
}


/*....................projet et activiter.............................*/
#projects-activities {
    background-color: #918ad177;
    padding: 50px 0;
    text-align: center;
}

#projects-activities .container {
    width: 80%;
    margin: 0 auto;
}

#projects-activities h2 {
    background: #005a48;
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #f79502;
}

#projects-activities .content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

#projects-activities .project {
    width: 30%;
    margin-bottom: 30px;
}

#projects-activities img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

#projects-activities h3 {
    background: #f79502;
    font-size: 1.1em;
    color: #fff;
    margin-bottom: 10px;
}

#projects-activities p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 800px) {
    #projects-activities .project {
        width: 30%;
    }
}

@media (max-width: 600px) {
    #projects-activities .container {
        width: 60%;
    }

    #projects-activities .project {
        width: 100%;
    }

    #projects-activities h2 {
        font-size: 1.7em;
    }

    #projects-activities h3 {
        font-size: 1em;
    }

    #projects-activities p {
        font-size: 1em;
    }
}


/*.............mission et vision..................*/

#mission-vision {
    background-color: #f7f7f7;
    padding: 50px 0;
    text-align: center;
}

#mission-vision .container {
    width: 100%;
    margin: 0 auto;
}

#mission-vision h2 {
    background: #005a48;
    font-size: 2em;
    margin-bottom: 20px;
    color: #f79502;
}

#mission-vision .content {
    display: flex;
    justify-content: space-around;
}

#mission-vision .content .mission,
#mission-vision .content .vision {
    width: 45%;
}

#mission-vision i {
    font-size: 2em;
    color: #f79502;
    margin-bottom: 10px;
}

#mission-vision h3 {
    background: #f79502;
    font-size: 1.2em;
    color: #fff;
    margin-bottom: 10px;
}

#mission-vision p {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 200px) {
    #mission-vision .content {
        flex-direction: column;
        align-items: center;
    }

    #mission-vision .content .mission,
    #mission-vision .content .vision {
        width: 70%;
    }

    #mission-vision h2 {
        font-size: 1em;
    }

    #mission-vision h3 {
        font-size: 0.8em;
    }

    #mission-vision p {
        font-size: 0.4em;
    }
}

/* footer */

.modern-footer {
  background: #0d1b2a;
  color: #f8f9fa;
  font-family: 'Poppins', sans-serif;
}

/* --- Newsletter --- */
#newsletter {
  text-align: center;
  padding: 40px 20px;
  background: #1b263b;
}

#newsletter h2 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 10px;
}

#newsletter p {
  color: #bbb;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.input-icon {
  position: relative;
}

.input-icon i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
}

.newsletter-form input {
  padding: 12px 15px 12px 40px;
  border-radius: 30px;
  border: none;
  width: 260px;
  outline: none;
}

.newsletter-form button {
  background: #e63946;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 25px;
  cursor: pointer;
  transition: 0.3s;
}

.newsletter-form button:hover {
  background: #d62828;
}

/* --- Footer principal --- */
.footer-main {
  padding: 50px 20px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h3 {
  margin-bottom: 15px;
  color: #fff;
  font-size: 1.2rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
  color: #ccc;
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-icons a {
  color: #f8f9fa;
  font-size: 22px;
  transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
  color: #e63946;
  transform: scale(1.1);
}

/* --- Bas du footer --- */
.footer-bottom {
  background: #1b263b;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
  color: #aaa;
}

.footer-bottom .powered strong {
  color: #e63946;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}
/*....................................................chiffre cles..............................................*/

#key-figures {
    background-color: #fff;
    background: url(/assets/images/arriere.jpg);
    background-attachment: fixed;
    padding: 50px 0;
    text-align: center;
}

#key-figures .container {
    width: 80%;
    margin: 0 auto;
}

#key-figures h2 {
    background: #005a48;
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #fff;
}

#key-figures .figures {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

#key-figures .figure {
    width: 30%;
    margin-bottom: 30px;
}

#key-figures i {
    font-size: 2em;
    color: #f79502;
    margin-bottom: 10px;
}

#key-figures h3 {
    font-size: 1em;
    color: #fff;
    margin-bottom: 10px;
}

#key-figures .number {
    font-size: 2em;
    color: #f79502;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 300px) {
    #key-figures .figure {
        width: 100%;
    }

    #key-figures h2 {
        font-size: 2em;
    }

    #key-figures h3 {
        font-size: 1.5em;
    }
}

/*.......testimonial......*/

#testimonials {
    background-color: #fff;
    padding: 50px 0;
    text-align: center;
}

#testimonials .container {
    width: 80%;
    margin: 0 auto;
}

#testimonials h2 {
    background: #005a4860;
    font-size: 2em;
    margin-bottom: 20px;
    color: #FFF;
}

#testimonials .testimonials-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

#testimonials .testimonial {
    width: 45%;
    margin-bottom: 30px;
    position: relative;
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 10px;
}

#testimonials i {
    font-size: 1em;
    color: #007bff;
    position: absolute;
    top: 10px;
    left: 10px;
}

#testimonials .quote {
    font-size: 1em;
    color: #555;
    margin-bottom: 15px;
}

#testimonials .author {
    font-size: 1em;
    color: #999;
    text-align: right;
}

/* Responsive */
@media (max-width: 350px) {
    #testimonials .testimonial {
        width: 100%;
    }

    #testimonials h2 {
        font-size: 2em;
    }
}

/*..........comment participer.............*/

#how-to-participate {
    background-color: #fff;
    padding: 50px 0;
    text-align: center;
}

#how-to-participate .container {
    width: 100%;
    margin: 0 auto;
}

#how-to-participate h2 {
    background: #f79502;
    font-size: 1.9em;
    margin-bottom: 20px;
    color: #FFF;
}

#how-to-participate .participation-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

#how-to-participate .option {
    width: 30%;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 10px;
    position: relative;
}

#how-to-participate i {
    font-size: 2em;
    color: #005a48;
    margin-bottom: 10px;
}

#how-to-participate h3 {
    font-size: 1em;
    color: #555;
    margin-bottom: 10px;
}

#how-to-participate p {
    font-size: 0.9em;
    color: #666;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 350px) {
    #how-to-participate .option {
        width: 100%;
    }

    #how-to-participate h2 {
        font-size: 2em;
    }
}

/*.........................................................blog..............................................*/

#blog {
    background: url(/assets/images/bloga.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #f7f7f7;
    padding: 50px 0;
    text-align: center;
}

#blog .container {
    width: 100%;
    margin: 0 auto;
}

#blog h2 {
    background: #005a486c;
    font-size: 2em;
    margin-bottom: 20px;
    color: #FFF;
}

#blog .blog-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

#blog .blog-post {
    width: 30%;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#blog i {
    font-size: 2em;
    color: #007bff;
    margin-bottom: 10px;
}

#blog h3 {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 10px;
}

#blog p {
    font-size: 0.9em;
    color: #666;
    line-height: 1.6;
}

#blog .read-more {
    display: inline-block;
    margin-top: 15px;
    font-size: 1em;
    color: #007bff;
    text-decoration: none;
}

#blog .read-more:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 700px) {
    #blog .blog-post {
        width: 100%;
    }

    #blog h2 {
        font-size: 2em;
    }

    #blog h3 {
        font-size: 1.5em;
    }
}

/*................................................partenaire................................................*/

#partners {
    background-color: #f7f7f7;
    padding: 50px 0;
    text-align: center;
}

#partners .container {
    width: 80%;
    margin: 0 auto;
}

#partners h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

#partners .carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
}

#partners .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

#partners .partner {
    min-width: 200px;
    margin: 0 10px;
}

#partners img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    #partners h2 {
        font-size: 1.7em;
    }

    #partners .partner {
        min-width: 40%;
        margin: 0;
    }
}


/*............................................................fair un don bnt............................................*/

.fixed-donate-btn {
    position: fixed;
    right: 10px;
    bottom: 20px;
    z-index: 1000; /* Assure que le bouton est au-dessus des autres éléments */
}

.donate-button {
    display: inline-block;
    padding: 15px 23px;
    font-size: 1em;
    background-color: #ff4500;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.donate-button i {
    margin-right: 8px;
}

.donate-button:hover {
    background-color: #007bff;
}


/* ...............................................Styles pour le Bouton Retour en Haut...........................................*/
.fixed-backToTop-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
}

.back-to-top {
    display: none;
    background-color: #005a48;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.back-to-top:hover {
    background-color: #ff4500;
}





.videos-simple {
  background: #f8f9fa;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.videos-simple h2 {
  font-size: 1.8rem;
  color: #1b263b;
  margin-bottom: 30px;
}

.videos-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.video {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 15px;
  width: 320px;
}

.video video {
  width: 100%;
  border-radius: 8px;
}

.video p {
  margin-top: 10px;
  font-weight: 500;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .video {
    width: 100%;
  }
}
