* {
    text-decoration: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    max-height: 100%;
    overflow-x: hidden;
}
.navbar {
    /* background: linear-gradient(to bottom, rgba(0,0,0,0.8),rgba(0,0,0,0.8)),
    url("./images/dodo.jpg") center no-repeat;
    min-height: 100%;
    background-size: cover;
    background-position: bottom center; */
     background: rgb(21, 106, 21); 
    font-family: Calibri, sans-serif;
    padding: 0 15px;
     position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 3;
}

.navdiv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.logo{
    display: flex;
    padding: auto;
}
.logo img{
    border-radius: 50%;
    width: 120px;
    height: 120px;
}

.logo a,.logo h1 {
    font-size: 2em;
    font-weight: 600;
    color: white;
}
 #mover-header {
        font-size: 1.2rem;
        text-align: center;
        font-weight: 700;
    }
h1{
    color: #fff;
    width: 100%;
    padding: auto;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    margin: auto;
   
}
.menu-toggle {
    display: none;
    font-size: 2em;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

ul.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: left;
    text-align: left;
    justify-content: space-between;
    margin: auto;
}

ul.nav-links li {
    display: inline-block;
    margin-right: 60px;
}
ul.nav-links li a:hover {
    background: #fff;
    color: rgb(21, 106, 21);
    padding: 0.8em;
}

ul.nav-links li a {
    color: white;
    font-size: 1em;
    font-weight: bold;
}

button {
    /* background: #ccc; */
    padding: 5px;
    margin-left: 10px;
    border: none;
}

button a {
    /* color: white; */
    font-weight: bold;
    font-size: 1em;
}

.menu-toggle {
    display: none;
    font-size: 2em;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    margin-left: auto; /* Pousse le bouton vers la droite */
}
/*  */
.navdiv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 98%;
}

/* ajout sous menu */
/* Pour le menu déroulant */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgb(21, 106, 21);
    min-width: 200px;
    z-index: 2;
}

.dropdown-content li {
    display: block;
    margin: 0;
}

.dropdown-content li a {
    display: block;
    padding: 10px 15px;
    color: white;
    text-align: left;
    font-weight: normal;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content li a:hover {
    background-color: white;
    color: rgb(21, 106, 21);
}


/* Slider container */

    .slider {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
        background-color: rgba(0, 0, 0, 0.7);
        transition: background-color 0.5s ease;
        margin-top: 5.5em;
    }
    
    .slide {
        position: absolute;
        width: 100%;
        height: 100%;
        transition: opacity 1s;
        opacity: 0;
        margin-bottom: -6%;
        
    }
    
    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 5px;
        
        
        
    }
    
    .slide.melance {
        opacity: 1;
    }
    
    .slide-icon {
        width: 10px;
        height: 10px;
        background: #ccc;
        border-radius: 50%;
        margin: 0 5px;
        cursor: pointer;
    }
    
    .slide-icon.melance {
        background: #000;
    }
    
    .slide-icon:hover {
        background: #000;
    }

    .slider .slide .info{
        position: absolute;
        background-color: rgba(0, 0, 0, 0.1);
        width: auto;
        margin-top: 33%;
        margin-left: 1%;
        padding: 20px;
        border-radius: 5px;
        text-transform: uppercase;
        bottom: 0;
    }
    .slider .slide .info h2{
        font-size: 1.2em;
        margin-bottom: .5rem;
        /* font-weight: 500; */
        line-height: 1.2;
        color: #fff;
    }
    .slider .slide .info p{
       font-size: 1em;
       /* font-weight: 400; */
    }
    .navigation{
        height: 500px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        opacity: 0;
        transition: opacity 0.5s ease;
    }
    .slider:hover  .navigation{
        opacity: 0.8;
    }
    .prev-btn,.next-btn{
        z-index: 0.8;
        font-size: 1em;
        background-color: rgba(0, 0, 0, 0.7);
        padding: 3px;
        cursor: pointer;
    }
    .prev-btn{
        border-top-right-radius: 3px;
        border-bottom-right-radius: 3px;
    }
    .next-btn{
        border-top-left-radius: 3px;
        border-bottom-left-radius: 3px;
    }
    .navigation-visibility{
        z-index: 0.5;
        display: flex;
        justify-content: center;
    }
    .navigation-visibility .slide-icon{
        z-index: 0.5;
        background: rgba(255,255,255,.5);
        width: 20px;
        height: 10px;
        transform: translateY(-50px);
        margin: 0 6px;
        border-radius: 2px;
        box-shadow: 0 5px 25px rgb(1, 1, 1 / 20%);
    }
   
	
	body::-webkit-scrollbar{
		width:5px;
	}
	body::-webkit-scrollbar-track{
		background-color: #fff;
    transition: background-color 0.5s ease;
	}
	body::-webkit-scrollbar-thumb{
		background-color: rgba(0, 0, 0, 0.7);
    transition: background-color 0.5s ease;
		border-radius: 10px;
	}
	body::-webkit-scrollbar-thumb:hover{
		background-color: rgba(0, 0, 0, 0.7);
    transition: background-color 0.5s ease;
	}
    @media (max-width:900px) {
        .about-content img{
            width: 70%;
        }
        .slide{
            width: 100%;
        }
        .slider .slide .info{
            position: absolute;
            width: auto;
            margin-left: auto;
            margin-right: auto;
            bottom: 0;
            font-size: 0.8em;
            /* font-weight: 800; */
        }
    }
    @media (max-width:500px) {
        .slider .slide .info h2{
            font-size: 0.8em;
            /* font-weight: 800; */
        }
        .slider .slide .info p{
            font-size: 0.8em;
           /* font-weight: 800; */
        }
    }
   
    
    
   
    #contenu{
        width: auto;
        height: 100%;
    }
    h2{
        color: #407;
        cursor: pointer;
    }
    #map{
        width: 98%;
        height: 98%;
    }
    iframe{
        width: 98%;
        height: 96%;
    }
    @keyframes mon_anim {
        0%{
            transform: translateY(10vh);
            opacity: 0;
        }
        100%{
            transform: translateY(0px);
            opacity: 1;
        }
    }
    p{
        animation-name: mon_anim;
        animation-duration: 3000ms;
        animation-delay: 500ms;
        animation-timing-function: ease-in-out;
        animation-iteration-count:1;
    }

    @keyframes mon_anime {
        0%{
            transform: translateX(10vw);
            opacity: 0;
        }
        100%{
            transform: translateX(0px);
            opacity: 1;
        }
    }
  
    @keyframes mon_animes {
        0%{
            transform: translateX(15vw);
            opacity: 0;
            border-radius: 5%;
            
        }
        100%{
            transform: translateX(0px);
            opacity: 1;
        }
    }
    .service img{
        animation-name: mon_animes;
        animation-duration: 1000ms;
        animation-delay: 200ms;
        animation-timing-function: ease-in-out;
        animation-iteration-count:1;
    }

.fade-in {
    animation: fadeInUp 1s ease-out forwards;
}

.fade-in-visible {
    opacity: 1;
    transform: none;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

@keyframes fadeOutDown {
    from {
        opacity: 1; 
        transform: none;
    }

    to {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }
}

/* div */
/* Conteneur principal */
.move {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* gap: 2rem;
    padding: 2rem; */
    max-width: 99vw;
    /* height: 98vh; */
    /* max-height:97vh; */
    margin: auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    box-sizing: border-box;
}

/* Bloc individuel animé */
.anime {
    flex: 1 1 calc(50% - 1rem); /* Deux colonnes avec espace */
    background: white;
    border-left: 5px solid rgb(181, 197, 181);;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
    box-sizing: border-box;
}

.anime:nth-child(2) { animation-delay: 0.2s; }
.anime:nth-child(3) { animation-delay: 0.4s; }
.anime:nth-child(4) { animation-delay: 0.6s; }
.anime:nth-child(5) { animation-delay: 0.8s; }
.anime:nth-child(6) { animation-delay: 1s; }

/* En-tête de chaque section */
.mover-header {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: green;
    font-size: 1.2em;
}

/* Ligne décorative sous le titre */
.line {
    flex-grow: 1;
    height: 2px;
    background: rgb(235, 247, 235);;
    margin-left: 1rem;
    border-radius: 10px;
}

/* Paragraphe */
.anime p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0.5rem 0 0 0;
}
/* scroll */
body::-webkit-scrollbar{
		width:5px;
	}
	body::-webkit-scrollbar-track{
		background-color: #fff;
    transition: background-color 0.5s ease;
	}
	body::-webkit-scrollbar-thumb{
		background-color: green;
    transition: background-color 0.5s ease;
		border-radius: 10px;
	}
	body::-webkit-scrollbar-thumb:hover{
		background-color: brown;
    transition: background-color 0.5s ease;
	}
    body {
    scrollbar-width: thin; /* pour Firefox */
    scrollbar-color: green #f1f1f1;
}
    /* map */
iframe{
        width: 99vw;
        height: 60vh;
        margin: auto;
        background-color: #ffffff;
    }
  

.footer{
    width: 100%;
    background-color:rgb(21, 106, 21);
    transition: background-color 0.5s ease;
    margin: auto;
    color:#fff;
}
.footer a{
    text-align: center;
    align-items: center;
    justify-content: center;
   
}

    
.face{
     text-align: center;
     align-items: center;
     justify-content: left;
}
.face i{
     color: lightgreen;
}
 hr{
    border-bottom: 1px solid lightgreen;
    width: 100vw;
    
}


.text p,.text h2,.text h1{
    padding: 0.3rem;
    display: inline-block;
    border: none;
    line-height: 2em;
    cursor: pointer;

    
    font-size: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    color: #eee;
    text-transform: uppercase;
    align-self: normal;
}
.copy{
    text-align: center;
}
.copy a{
    color: lightgreen;
}
.facebook{
    width: auto;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: space-between;
}
/* Animation */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive : 1 colonne sur mobile */
@media (max-width: 768px) {
    .anime {
        flex: 1 1 100%;
    }

    .mover-header {
        font-size: 1.2rem;
    }

    .anime {
        padding: 1rem;
    }
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .navbar{
        padding: 0 15px;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1;
    }
    .menu-toggle {
        display: block;
    }

    ul.nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: 10px;
    }

    ul.nav-links.active {
        display: flex;
    }

    ul.nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .navdiv {
        flex-direction: column;
        align-items: flex-start;
    } 
    /*  */
     .menu-toggle {
        display: block;
    }

    .nav-links {
        width: 100%;
        display: none;
        flex-direction: column;
    }

    .nav-links.active {
        display: flex;
    }
}
.slide.melance {
    opacity: 1;
}

.slide-icon.active {
    background: #000; /* ou blanc selon ton style */
}