/* google font importation*/
@import url('https://fonts.googleapis.com/css2?family=Miniver&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Miniver&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
    
    font-family: "Poppins", serif;
    font-weight: 400;
    font-size: 25px;
    
    
    font-style: normal;
    
}

body,main{
    margin: 0;
    padding: 0;
}



/*HOME PAGE STYLING*/

.accueil_section {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    
}

@media screen and (max-width: 1024px) {
    .accueil_section {
        width: 100%;
        height: 110vh;
        overflow: hidden;
        position: relative;
    }

    


}

.caroussel-container{
    position: absolute;
    left: 50%;
    top: 45%;
    bottom: 0;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100vh;
    padding: 50px;
    margin-top: 48px;
    background-color: #dbdbdb;
    
    overflow: hidden;
   
}

.homepage-slide{
    width: max-content;
    height: 100%;
    margin-top: 50px;
}

.homepage-item{
    
    width: 200px;
    height: 300px;
    background-position: 50% 50%;
    display: inline-block;
    transition: 0.5s;
    background-size: cover;
    position: absolute;
    z-index: 1;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 20px;
    
    box-shadow: 0 30px 50px #505050;

}

.homepage-item:nth-child(1),
.homepage-item:nth-child(2){
    left: 0;
    top:0;
    
    
    transform: translate(0,0);
    border-radius: 0;
    width: 100%;
    height: 100vh;
    margin-top: 50px;
    z-index: 0;
    
    box-shadow: none;


}

.homepage-item:nth-child(3){
    left: 50%;
}

.homepage-item:nth-child(4){
    left: calc(50% + 220px);
}

.homepage-item:nth-child(5){
    left: calc(50% + 435px);
}

.homepage-item:nth-child(n+6){
    left: calc(50% + 660px);
    opacity: 0;
    
}


.homepage-item .homepage-content{
    
   
    
    position: absolute;
    top:50%;
    left: 100px;
    width: 300px;
    text-align: left;
    padding: 0;
    color: whitesmoke;
    transform: translate(0, -50%);
    display: none;
    font-family: system-ui;

}

.homepage-item:nth-child(2) .homepage-content{
    display: block;
    z-index: 111111;
}

.hompage-name{
    
    
    
    background-color: #38342c33;
    backdrop-filter: blur(10px);
    width: fit-content;
    font-size: 80px;
    font-weight: 900;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    
    opacity: 0;
    animation: showcontent 1s ease-in-out 1 forwards;
    
    
    

}

.hompage-des{
    background-color: #38342c33;
    backdrop-filter: blur(10px);
    width: fit-content;
    text-align: center;
   
    

    opacity: 0;
    font-weight: bold;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 40px;
    animation: showcontent 1s ease-in-out 0.5s 1 forwards;
    
    


}

@keyframes showcontent{
    from{
        opacity: 0;
        transform: translate(0,100px);
        filter: blur(33px);
    }

    to{
        opacity: 1;
        transform: translate(0,100px);
        filter:blur(0)
}


}



.homepage-buttons{
    position: absolute;
    bottom: 30px;
    z-index: 222222;
    text-align: center;
    width: 100%;
    

}
.fa-angles-left, .fa-angles-right{
    background-color: #EDF4F2;
    padding: 20px;
    font-size: 20px;
    border-radius: 50%;
    border: 1px solid #252525;
    transition: 0.5s;

}

.fa-solid:hover{
    background-color: #bac383;
}



















/*END HOME PAGE STYLING*/










.nav-logo{
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}





ul{
    list-style: none;
    
}

a{
    text-decoration: none;
    
}
.nav-logo{
    text-align: center;
    justify-content: center;
    
}


.nav-link{
    font-family: "Poppin", sans-serif;
    font-size: 20px;
}

button{
    cursor: pointer;
    border: none;
    background: none;
}
img{
    width: 100%;
}

.section-content{
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1300px;
}


.navbar{
    margin: 0;
    padding: 0 ;
    width: 100%;
    
} 

.sous-titre{
    margin-top: 8px;
    max-width: 70%;
    font-size: 10px;
    font-weight: 600;

}

/*Navbar Styling*/

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    padding: 10px 0;
    margin: 0;
    border-radius: 5%;
    background-color: #31473A;
    min-width: 200px;
    z-index: 1;
}

.dropdown-content1 {
    display: none;
}

.dropdown-content li:hover .dropdown-content1 {
    display: block;
    text-align: left;
    position: absolute;
    margin: 0;
    padding: 10px 0;
    top: 0;
    left: 200px;
    background-color: #31473A;
    min-width: 100%;
    border-radius: 5%;
    z-index: 1;
}

.dropdown-link {
    color: white;
    width: 100%;
    margin-right: 0;
    text-align: left;
    display: block;
    font-size: 13px;
    border-radius: 30px;
    transition: 0.5s ease;
    font-family: Poppins, sans-serif;
}

.dropdown-link:hover {
    background-color: #6AB187;
    border-radius: 0;
    color: #252525;
    font-weight: 900;
    text-align: center;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
}

.dropdown:hover .dropdown-content {
    display: block;
}

header {
    background-color: #31473A;
    position: fixed;
    top: 0;
    left: 0;
    padding: 5px;
    width: 100%;
    height: auto;
    z-index: 5;
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}

header .navbar {
    display: flex;
    left: 0;
    right: 0;
    padding: 0 5%;
    align-items: center;
    justify-content: space-between;



}
.logo_mairie {
    max-width: 100%;
    margin-left: 0;
    height: 50px;
    border-radius: 50%;
    
    justify-content: flex-start;
    object-fit: contain;
}

.navbar .nav-menu .nav-link {
    color: white;
    margin-right: 0;
    padding: 10px;
    display: flex;
    flex-direction: row;
    font-size: 15px;
    border-radius: 30px;
    transition: 0.5s ease;
}

i {
    font-size: 15px;
    font-weight: 900;
}

.nav-link:hover {
    background-color: #6AB187;
    color: #3b141c;
}

.navbar .nav-menu {
    display: flex;
    gap: 5px;
}

.logo-text {
    color: white;
    font-size: 10px;
    font-family: poppins;
    line-height: 10px;
}

nav ul li a.active {
    font-weight: bold;
    color: #f3961c;
}

.ri-arrow-right-s-line {
    float: right;
    margin-left: 10px;
    padding-top: 3px;
}

.notification-badge {
  display: inline-block;
  background-color: red;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  margin-left: 5px;
  vertical-align: top;
}


/*conseil-member*/


.conseil-member{
    max-width:100%;
    height: auto;
    background-color: #EDF4F2;
}

#mun-section-title{
    padding: 60px 0 100px;
    font-size: 30px;

    

    


}

.conseil-member-container{
    display: grid;
    place-items: center;
    margin-top: -5rem;
    margin-inline: 1.5rem;
    padding-block: 5rem;
}

.conseil-member-list{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5rem;
}


.card__article{
    position: relative;
    overflow: hidden;
}

.card__img{
    display: block;
    max-width: 100%;
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 1.5rem;
}

.card__data{
    width: 250px;
    background-color: whitesmoke;
    padding: 1rem 1rem;
    box-shadow: 0 8px 24px hsla(0,0%,0%, .15);
    border-radius: 1rem;
    margin-inline: auto;
    justify-content: space-between;
    
    
    
}

.card__description{
    text-align: center;
    display: block;
    font-size: .720rem;
    margin-bottom: .25rem;
    font-weight: 800;


}

.card__title{
    text-align: center;
    font-size: 15px;
}







/* HERO SECTION*/



.hero-section{
    min-height: 100vh;
    background-color: #EDF4F2;
    padding: 5px 0;
}

.hero-detail{
    margin-left: 100px;
    
    

}



.hero-section .section-content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

@media screen and (max-width: 600px)  {
    .hero-section .section-content {
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }
}

@media screen and (max-width: 1024px)  {
    .hero-section .section-content {
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }

    iframe{
        width: 100%;
    }

    
}

.hero-section .hero-detail .titre{
    font-size: 2rem;
    color: #252525;
    font-family: "Miniver", sans-serif;
    font-weight:600 ;
   padding-top: 100px;
}

.hero-section .hero-detail .sous-titre{
    margin-top: 8px;
    max-width: 70%;
    font-size: 1rem;
    font-weight: 600;

  

}

.hero-section .hero-detail .description{
    max-width: 100%;
    margin: 24px 0 40px;
    font-size: 15px
}

@media screen and (max-width: 600px) {
    .hero-section .hero-detail .description{
        font-size: 0.8rem;
        max-width: 100%;
    }

    iframe{
        width: 100%;
    }
}







.hero-section .hero-img-wrapper{
    width: 100%;
    height: 100%;
    
}

@media screen and (max-width: 600px) {
    .hero-section .hero-img-wrapper{
        width: 100%;
        height: auto;
    }
}


/*gestion demande*/


     





/* ABOUT US SECTION*/





.about-section {
    width: 100%;
    height: auto;
    
    padding: 120px 0;
    background-color: #EDF4F2;
    
}

.about-section .section-content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 70px;
    gap: 50px;
   
}

@media screen and (max-width: 1024px) {
    .about-section .section-content{
        flex-direction: column;
        margin-top: 0;
        gap: 30px;
        align-items: flex-start;
        
    }

        .about-us-img {
            
           position: relative;
            left: 50%;
            transform: translateX(-50%);
        }


}

/*@media screen and (max-width: 900px) and (min-width: 600px) {
    .about-section .section-content{
        flex-direction: column;
        margin-top: 0;
        gap: 20px;
        align-items: flex-start;
        
    }
}*/

.about-section .about-us-img{
    margin-top: 0;
    align-items: center;
    max-width: 100%;
}

/*@media screen and (max-width: 900px) and (min-width: 600px) {
    .about-section .about-us-img{
        width: 400px;
        height: 100%;
        margin-top: 20px;
        margin-bottom: 20px;
        object-fit: contain;
    }
}*/

.about-section .about-us-img .about-img{
    width: 300px;
    height: 500px;
    
    object-fit: cover;
    
    
    border-radius: 50%;
    
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}

.about-us-title{
    text-align: center;
    padding: 20px 0 30px;
    font-weight: 600;
    font-style: italic;
    font-size: 50px;
    font-family: "Miniver", sans-serif;
    color: #252525;


}
.about-us-title::after{
    content: '';
    width: 100px;
    height: 15px;
    display: block;
    margin: 10px auto 0;
    background-color: #6AB187;
    justify-content: center;
}






.about-us-paragraph{
    color: #31473A;
    font-family: Poppins;
}

.about-section .about-us-text .about-us-title{
    padding: 0;
    
}

.about-section .about-us-text .about-us-paragraph{
    line-height: 30px;
    margin: 50px 0 30px;
    
    text-align: center;
    
    font-size: .805rem;
    
}

.signature_maire{
    text-align: center;
    font-family: Miniver;
    text-decoration: underline;
    color: #252525;
}


.about-section .about-us-text{
    max-width: 100%;
    
    
}

.about-section .social-link-list{
    display: flex;
    gap: 50px;
    justify-content: center;
    padding-top: 15px;
}

.about-section .social-link{
    font-size: 10px;
    padding-top: 15px;
    transition: 0.5s ease;
}
.about-section .social-link:hover{
 color: #f3961c;
}

/* Section Réalisation  */




.menu-section{
    background-color: #252525;
    padding:110px 0;
}



.menu-section .menu-list{
    display: flex;
    flex-wrap: wrap;
    gap: 110px;
    align-items: center;
    
}
.menu-section .menu-list .menu-items .menu-img{
    width: 70%;
    aspect-ratio: 1;
    margin-bottom: 15px;
    object-fit: cover;
    border-radius: 20%;
}


.menu-section .menu-list .menu-items{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: calc(100% / 2 - 110px);
    
    
}

.our-menu{
    text-align: center;
    padding: 60px 0;
    font-weight: 600;
    font-style: italic;
    font-size: 30px;
    font-family: "Miniver", sans-serif;
    color: white;

}


.menu-title{
    text-align: center;
    margin: 12px 0;
    
    padding: 10px 0;
    font-weight: 600;
    font-style: italic;
    font-size: large;
    font-family: "Miniver", sans-serif;
    color: white;


}

.menu-title:after{
    content: '';
    width: 100px;
    height: 5px;
    display: block;
    margin: 10px auto 0;
    
    background-color: #f3961c;
    justify-content: center;
}


.our-menu:after{
    content: '';
    width: 100px;
    height: 15px;
    display: block;
    margin: 10px auto 0;
    background-color: #f3961c;
    justify-content: center;
}


.menu-text{
    max-width: 70%;
    font-size: 15px;
    text-align: center;
    color: aliceblue;
    

}

/*stats*/

.stats .stats-content{
    display: flex;
    flex-wrap: wrap;
    gap: 110px;
    align-items: center;
    justify-content: center;
    padding: 110px 0;
    background-color: #EDF4F2;
    
}





.stats h3{
    text-align: center;
    padding: 0;
    font-weight: 600;
    font-style: italic;
    font-size: 30px;
    font-family: "Miniver", sans-serif;
    color: #252525;
}

.bi{
    color: #6AB187;
}

.stats .stats-list {
    display: flex;
    background-color: #EDF4F2;
    flex-direction: row;
    padding: 15px 5px;
    margin: 5px 0;
    gap: 20px;
    align-items: center;
    border-radius: 50px;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
}

@media screen and (max-width: 1024px) {
    .stats .stats-list {
        display: flex;
        background-color: #31473A;
        flex-direction: column;
        padding: 15px 5px;
        gap: 10px;
        align-items: center;
        background-color: #EDF4F2;
        border-radius: 0;
    }

    .stats-items{
        width: 100%;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 2.5rem;
    }

    .stats-items:hover{
        transform: scale(1.1);
        transition: 0.5s ease; 
        background-color: #fff;
    }

    
}



.stats-list .stats-items{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    
}

@media screen and (max-width: 600px) {
    .stats .stats-list{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        background-color: #EDF4F2;
        border-radius: 0;
        
    }

    .stats-items{
        width: 100%;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 2.5rem;
    }

    .stats-items:hover{
        transform: scale(1.1);
        transition: 0.5s ease; 
        background-color: #fff;
    }


    
   
    


    
}





.stats .stats-content .stats-items .stats-img{
    width: 70%;
    aspect-ratio: 1;
    margin-bottom: 15px;
    object-fit: cover;
    border-radius: 20%;
}

.stats-title{
    text-align: center;
    margin: 12px 0;
    padding: 10px 0;
    font-weight: 600;
    font-style: italic;
    font-size: 20px;
    font-family: "Popins", sans-serif;
    color: #252525;
}

.stats-text{
    max-width: 100%;
    font-size: 20px;
    text-align: center;
    color: #252525;
}

.stats .stats-content .stats-items .stats-title{
    text-align: center;
    margin: 12px 0;
    padding: 10px 0;
    font-weight: 600;
    font-style: italic;
    font-size: 10px;
    font-family: "Miniver", sans-serif;
    color: #EDF4F2;
}

.stats .stats-content .stats-items .stats-title:after{    
    content: '';
    width: 100px;
    height: 5px;
    display: block;
    margin: 10px auto 0;
    background-color: #6AB187;
    justify-content: center;
}

.stats .stats-content .stats-items .stats-text{
    max-width: 100%;
    font-size: 20px;
    text-align: center;
    color: #fff;
}

/* Styles généraux */

  
  /* Mobile Styles */
  @media screen and (max-width: 768px) {
    .stats-items {
      flex: 1 1 calc(50% - 20px); /* 2 éléments par ligne */
    }
  }
  
  @media screen and (max-width: 480px) {
    .stats-items {
      flex: 1 1 100%; /* 1 élément par ligne */
    }
  
    .stats-title {
      font-size: 20px;
    }
  
    .stats-text {
      font-size: 14px;
    }
  
    i {
      font-size: 24px; /* Réduction des icônes pour petits écrans */
    }
  }

/*présentation mairie*/



.présentation_mairie{
    background-color: #EDF4F2;
    width: 100%;
    height: auto;
    
    
}
.sidebar_wrapper{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #EDF4F2;
    
}

.sidebar{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 50px;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #ccc;
    
}

.sidebar .sidebar_list{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #31473A;

}

.sidebar_item{
    width: 100%;
    height: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    
}

.sidebar .sidebar_link{
    text-decoration: none;
    color: #EDF4F2; 
    font-weight: 400;
    font-size: 20px;
    font-family: "Popins", sans-serif;
}




.sidebar .sidebar_link:hover{
    background-color: #6AB187;
    border-radius: 10px;
}

.sidebar_content{
    width: 100%;
    height: auto;
    background-color: #EDF4F2;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar_content p{
    font-weight: 600;
    font-size: 20px;
    font-family: "Miniver", sans-serif;
    color: #252525;
}



/*tableau*/


/*ETAT CIVIL*/


/*.etat-civil{
    width: 100%;
    height: auto;
    background-color: #EDF4F2;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}



.form-container{
    margin-top: 38px;
    width: 100%;
    
    padding: 20px 30px;
    border: 1px solid #ccc;
    border-radius: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.etat-civil-title{
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-family: "Miniver", sans-serif;
    font-weight: 600;
}

.etat-civil-title::after{
    content: '';
    width: 100px;
    height: 5px;
    display: block;
    margin: 10px auto 0;
    background-color: #6AB187;
    justify-content: center;
}







form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
    color: #555;
}

form input,
form select,
form textarea,
form button {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

form button {
    background-color: #0078d4;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #005a9e;
}

.hidden {
    display: none;
}

#confirmationMessage {
    margin-top: 20px;
    color: green;
    font-weight: bold;
    text-align: center;
}*/




/*News*/

.news-section{
    
    width: 100%;
    height: auto;
    font-family: poppins;
    box-sizing: border-box;
    background-color: #EDF4F2;
    
    
    justify-content: center;
    align-items: center;
    
    padding: 40px;
    border-bottom: 1px solid #252525;
}

.blog-heading{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.blog-heading span{
    color: #31473A;
}

.blog-heading h3{
    font-size: 1.6rem;
    color: #252525;
    font-weight: 600;
}
.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    gap: 60px;
}

.blog-box {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 15px;
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
    overflow: hidden;
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
    background: #fff;
    transition: 0.5s ease;
}

.blog-box:hover{
    transform: scale(1.1);
}



.blog-box .blog-img{
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
} 


.blog-box h4{
    font-size: 1.3rem;
    padding: 10px 0px;
    font-weight: 600;
    color: #252525;
}

.blog-box p{
    font-size: 1.1rem;
    padding: 10px 0px;
    color: #252525;
}
.blog-text{
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.blog-text .news-date{
    color: #f3961c;
    font-size: 0.6rem;
    display: block;
    padding-bottom: 10px;
}
 .blog-text .blog-title{
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: #252525;
}

.blog-text .blog-title:hover{
    color: #31473A;
    transition: all ease 0.3s;
}

.blog-text p{
    color: #9b9b9b;
    font-size: 0.9rem;
    
    display: -webkit-box;
    
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 20px 0px;
}

.blog-text .read-more{
    text-decoration: none;
    background-color: #6AB187;
    color: #31473A;
    padding: 5px 10px;
    border-radius: 5px;
    font-family: Miniver;
    font-size: 1.1rem;
    font-weight: 500;
}
.blog-text .read-more:hover{
    
    font-weight: 400;
    transition: all ease 0.3s;
}

.more-text{
    color: #9b9b9b;
    font-size: 0.9rem;
    

}





/* project section style  */



.section-title{
    text-align: center;
    margin: 10px 0;
    padding: 10px 0;
    font-weight: 600;
    font-style: italic;
    font-size: 35px;
    font-family: "Miniver", sans-serif;
    color: #31473A;
}


.section-title:after{
    content: '';
    width: 100px;
    height: 15px;
    display: block;
    margin: 10px auto 0;
    background-color: #6AB187;
    justify-content: center;
}

.testimonials-section {
    padding: 50px 0 100px;
    background-color: #EDF4F2;
}

.testimonials-section .testimonial {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 25px;
}





.testimonials-section .testimonial .user-img {
    width: 100%;
    max-width: 800px;
    height: 300px;
    object-fit: cover;
    margin-bottom: 50px;
    border-radius: 10px;
}

@media screen and (max-width: 768px) {
    .testimonials-section .testimonial .user-img {
        height: 200px;
    }
}

@media screen and (max-width: 600px) {
    .testimonials-section .testimonial .user-img {
        width: 100%;
        height: 200px;
    }
}
@media screen and (max-width: 600px) {
    .testimonials-section .testimonial .user-img{
        width: 100%;
        height: 200px;
    }

    
}




.testimonials-section .testimonial .feedback{
    font-size: 15px;
   padding: 0 50px;
    color: #9b9b9b;
    line-height: 30px;
    text-align: center;

}
.testimonials-section .testimonial .testimonials-name{
    font-size: 1.2rem;
    color: #31473A;
    margin: 10px 0;
    text-align: center;
}
/*pertenaire*/

.partenaire{

    width: 100% ;
    height: auto;
    padding: 0 5rem;
    margin: 0 auto;
    background-color: #EDF4F2;
   
    text-align: center;
    margin: 10px 0;
    padding: 10px 0;
    font-weight: 600;
    font-style: italic;
    font-size: 35px;
    font-family: "Miniver", sans-serif;
    color: #31473A;

}

.partenaire .partenaire-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 50px;
    margin: 10px 10PX;
    padding: 10px 0;
    font-weight: 600;
    font-style: italic;
}

@media screen and (max-width: 768px) {
    .partenaire .partenaire-list{
        flex-direction: column;
        gap: 20px;
    }
}

@media screen and (max-width: 480px) {
    .partenaire .partenaire-list{
        gap: 5px;
    }
}

.partenaire .partenaire-list .partenaire-item{
    width: 200px;
    height: 400px;
    object-fit: cover;
    margin-bottom: 35px;
    border-radius: 15%;
}







/* Section budget*/

.budget-section {
    width: 100% ;
    height: auto;
    padding:0 10px ;
    margin-top: 50px;
    background-color: #EDF4F2;
    display: flex;
    flex-direction: column;
    text-align: center;

    

    

    
}

@media screen and (max-width: 600px) {

    .budget-section{
        height: auto;
        gap: 25px;
        margin-top: 10px;
    }

    .Budget-wrapper{
        width: 100%;
        height: auto;
        margin: 10px 0;
        padding-bottom: 10px;
    }

    
    .Budget-mairie-title {
        font-size: 15px;
        padding: 0;
        text-align: center;
        
    }
    .Budget-wrapper h1{
        font-size: 40px;
        padding: 0;
        text-align: center;
    }
}

.Budget-mairie-title{
    text-align: center;
    margin: 30px 0;
    font-weight: 900;
    
    padding: 10px 0;
    font-weight: 600;
    font-style: italic;
    font-size: 35px;
    font-family: "Miniver", sans-serif;
    color:black;

}

.Budget-mairie-title:after{
    content: '';
    width: 100px;
    height: 15px;
    display: block;
    margin: 10px auto 0;
    background-color: #6AB187;
    font-weight: 600;
    justify-content: center;
}

.Budget-wrapper{
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    margin: 20px 0;
    background-color: #dbdbdb;
    border: 1px solid black;
    opacity: 0.7;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
    border-radius: 30px;
    padding-bottom: 20px;
}




.budget-img-logo-mairie{
    width: 100%;
}

.budget-section {
    color: #333;
    opacity: 1;
}

.year-selector {
    margin-top: 20px;
    opacity: 1;
    

}

.year-selector label {
    font-size: 18px;
    color: black;
    font-weight: 600;
    opacity: 1;
}

@media screen and (max-width: 600px) {
    .year-selector label {
        font-size: 15px;
    }
}

.year-selector select {
    padding: 5px;
    font-size: 15px;
    margin: 0 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

@media screen and (max-width: 600px) {
    .year-selector select {
        width: 100%;
        margin: 5px 0 10px;
    }
}

.year-selector button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #31473A;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    opacity: 1;
}

.year-selector button:hover {
    background-color: #0056b3;
    opacity: 1;
}






/*Contact section*/
.contact_us{
    background-color: #EDF4F2;
    padding:65px 0 100px ;
    width: 100%;
    height: auto;
    
}

.contact_title_wrapper{
    text-align: center;
    margin-bottom: 50px;

}

.contact_infos{
    
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 0 200px;
    height: auto;
}

@media screen and (max-width: 768px) {
    .contact_infos{
        flex-direction: column;
        padding: 0 20px;
    }
}

@media screen and (max-width: 1024px) {
    .contact_infos{
        flex-direction: column;
        padding: 0 20px;
    }
}

.contact_infos_list{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0;
}










.contact_us .contact_infos_list .contact_info i{
    font-size: larger;
    

}

.contact_form{
    width: 90%;
    max-width: 500px;
    height: auto;
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px, rgba(0, 0, 0, 0.12) 0px 3px 5px;
}




.contact_us .contact_form .form_input{
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}





.contact_us .contact_form textarea{
    width: 100%;
    height: 100px;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}


.contact_us .contact_form .submit_btn{
    background-color: #6AB187;
    color: #ffffff;
    font-weight: 600;
    padding: 10px 26px;
    border-radius: 20%;
    
}

.contact_title{
    text-align: center;
    margin: 30px 0;
    padding: 10px 0;
    font-weight: 600;
    font-style: italic;
    font-size: 35px;
    font-family: "Miniver", sans-serif;
    color: #3b141c;

}
.contact_title:after{
    content: '';
    width: 100px;
    height: 15px;
    display: block;
    margin: 10px auto 0;
    background-color: #f3961c;
    justify-content: center;
}

/*Footer*/

.footer-section{
    padding: 20px 0;
    background-color: #252525;

}

.footer-section .section-content{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media screen and (max-width: 600px) {
    .footer-section .section-content{
        flex-direction: column;
        
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .copyright-text, .policy-text, .separator{
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    


}

.footer-section :where(.copyright-text, .social-link, .policy-link){
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-family: Miniver, sans-serif;
    
}

.footer-section .social-link-list{
    display: flex;
    gap: 25px;
}

.footer-section .social-link-list .social-link{
    font-size: 2rem;
    padding: 0 10px;
    text-decoration: none;
}

.footer-section .social-link-list .social-link:hover,
.footer-section .policy-text .policy-link:hover{
    color: #6AB187;
}

.footer-section .policy-text .separator{
    margin: 0 5px;
    color: #fff;


}








/* gallery */

.Galleries_container{
    padding: 50px 0 100px;

}




.Galleries_container .galleries_list{
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
   
}

@media screen and (max-width: 768px) {

    
    .Galleries_container .galleries_list{
        gap: 16px;
        align-items: center;
        width: 100%;
    }
}

@media screen and (max-width: 500px) {

    
    .Galleries_container .galleries_list{
        gap: 8px;
        align-items: center;
        margin-left: -22px;
    }
}

.Galleries_container .galleries_list .galleries_items{
    overflow: hidden;
    border-radius: 20px;
    align-items: center;
    justify-content: center;

    width: calc(100% / 3 - 32px);
}

@media screen and (max-width: 768px) {
    .Galleries_container .galleries_list .galleries_items{
        width: calc(100% / 2 - 16px);
        align-items: center;
    justify-content: center;
    }
}

@media screen and (max-width: 500px) {
    .Galleries_container .galleries_list .galleries_items{
        width: 100%;
    }
}

.Galleries_container .items .galleries_img{
    width: 100%;
    height: 100%;
    cursor: zoom-in;
    transition: 0.3s ease;

}

@media screen and (max-width: 768px) {
    .Galleries_container .items .galleries_img{
        width: 100%;
        height: 200px;
    }
}

@media screen and (max-width: 500px) {
    .Galleries_container .items .galleries_img{
        width: 100%;
        height: 150px;
    }
}

.Galleries_container .galleries_items:hover .galleries_img{
    transform: scale(1.5);
}


/*img modal*/

.modal {
    display: none;
    position: fixed;
    z-index: 10;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    margin: 0 auto;
    
    justify-content: center;
    align-items: center;
    display: block;
    width: 100%;
    max-width: 900px;
}

@media screen and (max-width: 900px) {
    .modal-content {
        margin: 0 10px;
    }
}

@media screen and (max-width: 600px) {
    .modal-content {
        margin: 0 5px;
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #ccc;
    text-decoration: none;
    cursor: pointer;
}
/**/
















/*Make it responsive*/
#menu-close-button{
    display: none;
}



.navbar #menu-open-button{
    display: none;
}

.navbar #menu-open-button{
    color: white;
}



@media screen and (max-width: 1024px) {

    .accueil_section .caroussel-container{

        height: 100vh;
        

    }

    hero-section
    

    .homepage-content .hompage-name{
        font-size: 60px;
        
    }

    .homepage-content .hompage-des{
        font-size: 20px;
        
        
        
    }

    .homepage-content{
        
        align-items: center;
        justify-content: center;
       
    }

    
    .hompage-des{
        text-align: center;
        width: 50%;
        font-size: 60px;
    }
    .menu-section .menu-list .menu-items{
        width: calc(100% / 3 - 60px);

    }
    .menu-section .menu-list{
        gap: 60px;
    }

    .menu-section .menu-list .menu-items.menu-text{
        font-size: small;
    }

    .hero-section .hero-detail{
        width: 100%;
        text-align: center;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }



    .hero-section .hero-detail .description{
        width: 100%;
        height: auto;
        justify-content: justify;
        font-size: 0.8rem;
        max-width: 100%;
    }

    .hero-section .hero-detail .sous-titre{
        font-size: 40px;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    

    

    



    
    


    .about-section .about-us-img .about-us-img .about-img{
        
        height: 400px;
        margin-left: 0;
        align-items: center;
        justify-content: center;
        object-fit: cover;
        width: 100%;
       
    }

    .about-us-title{
        font-size: 20px;
    }

    .about-us-paragraph{
        font-size: 5px;
        line-height: 10px;
        margin: 0;
        padding: 0;
        

    }

    .footer-container{
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    span{
        display: flex;
        flex-direction: row;
        font-size: small;
        margin: 0 5px;
    }

    .footer-social-link-list{
        display: flex;
        gap: 20px;
    }

    .topHeadlines .right .topNews .news .img {
        width: 150px;
    }
    .topHeadlines .right .topNews .news .text .title a p {
        font-size: 14px;
    }

    

    
    



}






@media screen and (max-width: 900px) {

  

    

    section{
        padding-right: 0;
        margin: 0 auto;
        max-width: 100%;
        
        
    }


    /*Accueill responsive*/

   
    
    

    .accueil_section .section-content .caroussel-container{
        
        height: 100%;
        

    }

    




    



    .homepage-content .hompage-name{
        font-size: 30px;
        margin-left: -100px;
    }

    .homepage-content .hompage-des{
        font-size: 20px;
        margin-left: -100px;
        
        
    }

    .homepage-content{
        margin-left: 10px;
        align-items: center;
        justify-content: center;
       
    }

    
    .hompage-des{
        text-align: center;
        width: 50%;
        font-size: 30px;
    }
    


    /*Hero section responsive*/


    

    
    .hero-section .hero-detail :is(.sous-titre,.description), .about-section .about-us-text{
        max-width: 100%;
        left: 0;
        font-size: 2vh;
        align-items: center;
        margin-right: 100px;
    
        
        
        
       
       

    }
    .hero-section .hero-detail .titre{
        margin-right: 100px;
        max-width: 100%;
        font-size: xx-large;
        margin-top: -100px;
    }

    
        
    body.toggle-menu header::before{
        content: "";
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        backdrop-filter: blur(5px);
        background-color: rgba(0,0,0,0.2)
    }
    .nav-menu.hidden {
        transform: translateX(-250px);
    }

    .hero-section .hero-detail .titre .hero-img{
        
        justify-content: center;

    }

    

    

    /*Navbar responsive*/

    .navbar .nav-menu {
        display: block;
        background-color: white;
        position: fixed;
        left: -300px;
        top: 0;
        width: 300px;
        height: 100%;
        background-color:white;
        flex-direction: column;
        align-items: center;
        padding-top:100px ;
        transition: left 0.5s ease;
        

        
        
    }

    body.toggle-menu .navbar .nav-menu {
        left: 0;
    } 


    .navbar .nav-menu .nav-link{
        color: black;
        font-size: 25px;
        display: block;
        text-align: center;
        font-weight: 600;
       
        margin-top: 10%;
        font-family: "Miniver", sans-serif;

    }

    .navbar #menu-close-button{
        position: absolute;
        right: 20px;
        top: 20px;
        display: block;
    }

    .navbar #menu-open-button{
        display: block;
    }

    /*Responsive section about*/

    

   

    /*.about-us-img{
        margin: auto;
        width: 100%;
        
    }
    
    
    .about-img{
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
        object-fit: cover;
        
    }

    .about-us-text{
        margin: auto;
        width: 100%;
        gap: 30px;
    }

    .about-section .about-us-title{
        margin-left:50px ;
        margin-top: -80px;
        font-size: 2em;
        justify-content: center;
        align-items: center;
    }


    .about-section .about-us-paragraph{
        text-align: justify;
        width: 100%;
        
        justify-content: start;
        margin-left: 50px;
        font-size: 1.5em;

    }

    

    

    
    

    .signature_maire{
        
        
        
        
        
        font-size: 1.5em;
        font-weight: 900;

    }




   

    
    

    

    
    .about-section .about-us-title{
        margin: auto;
    }

    

    .about-us-img{
        padding: 10px 10px;
        border-radius: none;
        margin:0 auto;
        

        
    }

    

    .about-section .about-us-img .about-img{
            aspect-ratio: 1/1;
            margin-top: 70px;
            margin-left: 0;
            align-items: center;
            justify-content: center;
            object-fit: cover;
            width: 100%;
            height: 600px;
    }
    

    .about-section .social-link-list{
        
        
        justify-content: center;
        margin-left: 50px;
        font-size: 2.5em;
        font-weight: 900;
        align-items: center;
        margin-top: 30px;
        

        
    }

    .about-section .social-link-list .social-link i{
        gap: 50px;
        font-size: 3em;
        
    }*/

    /* Styles généraux */
.about-section {
    padding: 20px;
  }
  
  .section-content {
    display: flex;
    flex-wrap: wrap; /* Permet aux éléments de s'adapter à la largeur disponible */
    align-items: center;
    justify-content: center; /* Centre le contenu horizontalement */
    gap: 20px; /* Espace entre les éléments */
  }
  
  .about-us-img img {
    
    
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .about-section .about-us-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    
  }
  
  .about-us-text {
    max-width: 100%; /* Limite la largeur du texte */
    text-align: justify; /* Justifie le texte pour une meilleure lisibilité */
  }
  
  .about-us-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    color: #333;
    font-family: "Miniver", sans-serif;
    width: 100%;
    Justify-content: center;
  }
  
  .about-us-paragraph {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .signature_maire {
    font-size: 1.2rem;
    font-style: italic;
    margin-top: 20px;
  }
  
  .social-link-list {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  
  .social-link i {
    font-size: 1.5rem;
    color: #0078d7; /* Bleu classique */
    transition: color 0.3s;
  }
  
  .social-link:hover i {
    color: #0056a6; /* Plus sombre au survol */
  }

  
  
  /* Styles responsives */
  @media screen and (max-width: 768px) {
    .section-content {
      flex-direction: column; /* Les éléments s'empilent sur les petits écrans */
      align-items: center;
    }
  
    .about-us-text {
      text-align: center; /* Aligne le texte au centre pour les écrans mobiles */
    }
  
    .about-us-title {
      font-size: 1.8rem;
    }
  
    .about-us-paragraph {
      font-size: 0.95rem;
    }
  }
  
  @media screen and (max-width: 480px) {
    .about-us-title {
      font-size: 1rem;
    }
  
    .about-us-paragraph {
      font-size: 0.9rem;
    }
  
    .signature_maire {
      font-size: 1rem;
    }
  
    .social-link i {
      font-size: 1.2rem; /* Réduit les icônes pour les très petits écrans */
    }
  }

    /*stats*/

    .item-desc{
        font-size: 20px;
        text-align: center;
    }

    .number{
        font-size: 30px;
        text-align: center;
    }

    #bi{
        font-size: 30px;
        align-items: center;
        justify-content:center;
        
    }


    


    .stats .all-stats-items{
        flex-direction: column;
        max-width: 200px;
        
        
        align-items: center;
        justify-content: center;
        margin: auto;
        gap: 20px;

    }


    /*Réalisation section responsive*/
    .menu-section .menu-list .menu-items{
        width: calc(100% / 1 - 30px);

    }
    .menu-section .menu-list .menu-items .menu-img{
        width: 100%;
    }
    .menu-section .menu-list{
        gap: 30px;
    }

    
    
    /*responsive section budget*/

    .budget-section{
        margin:0 auto;
        padding: 40px 20px;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-repeat: no-repeat;

    }


    .Budget-wrapper{
        

        margin:0 auto;
        
        
        height: 100%;
        padding: 60px;
        display: flex;
        flex-direction: column;
        
        
        
    }

    .Budget-mairie-title {
        font-size: 2rem;
    }

    .year-selector {
        flex-direction: column;
        gap: 10px;
    }

    #year {
        width: 100%;
        padding: 10px;
        font-size: 1rem;
    }

    #downloadBtn {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
    }

    /*News*/
    

    /*responsive contact*/

    /*.contact_us .section-content{
       
        
        flex-direction: column;
        display: flex;
        
        
        
        
    }

    .contact_title{
        font-size: 30pxpx;


    }

    .section-content .contact_infos_list{
        margin-top: -50px;
    }

    .contact_infos_list{
        font-size: 20px;
        gap: 5px;
       align-items: center;
       justify-content: start;
       padding-left: 20px;
       padding-right: 20px;

        
    }

    .contact_form{
        margin: 0 auto;
        width: 100%;
        padding: 0;
    }

    .contact_form .form_input{
        display: flex;

        max-width: 100%;
        height: 90px;
        font-size: large;
        size: 100%;

    }

    textarea{
        resize: horizontal;
        max-width: 50px;
        
    }

    textarea::placeholder{
        text-align: center;
        justify-self: start;
        position: absolute;
    }*/


    /*conseil-member*/

    
    


    /*Footer responsive*/

    .footer-container{
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0;
        margin: auto;
        width: 100%;
    }

    
    

    

   
    


    



    

    

    
}

   