body{
max-width: 1200px;
margin:auto;
margin-top: 20px;
padding: 0;
font-family: 'Source Sans Pro', sans-serif;

}

.slider {
position: relative;
overflow: hidden;
border-radius: 20px;
margin-top: 20px;
width: 100%;
height: 500px; /* Ajustez la hauteur du slider selon vos besoins */
}

.slider-container {
display: flex;
width: 100%;
height: 100%;
transition: transform 0.5s ease-in-out;
}

.slide {
flex-shrink: 0;
width: 100%;
height: 100%;
position: relative;
}

.slide img {
display: block;
width: 100%;
height: 100%;
object-fit: cover; /* Assurez-vous que les images remplissent complètement les diapositives */
}

.slide-caption {
position: absolute;
z-index: 1;
top: 35%;
left: 50%;
transform: translate(-50%, -50%);
color: #fff;
font-size: 36px;
font-weight: bold;
text-shadow: 2px 2px 2px black;
}

.slide-bottom-caption {
position: absolute;
z-index: 1;
top:50%;
left: 50%;
transform: translateX(-50%);
color: white;
font-size: 30px;
font-weight: bold;
text-shadow: 2px 2px 2px black;
text-align: center;
}

.slider-controls {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 100%;
text-align: center;
}

.slider-controls button {
background: transparent;
border: none;
color: white;
font-size: 36px;
cursor: pointer;
transition: opacity 0.3s;
}

.slider-controls button:hover {
opacity: 0.7;
}

.prev {
position: absolute;
left: 20px;
}

.next {
position: absolute;
right: 20px;
}
.images{
display: flex;
justify-content: space-around;
margin: 20px;

}
.images img{

height:150px;
display:flex;
justify-content:center;
}

/* Nouveau style pour la liste de navigation */

.dropdown:hover .dropdown-content {
visibility: visible;
opacity: 1;
text-align: center;
align-items: center;
justify-content: center;
border-radius: 10px;
}

.dropdown {
position: relative;
}

.dropdown-content {
visibility: hidden;
opacity: 0;
position: absolute;
top: 60px;
left: 0;
background-color: #ffffff;
box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
min-width: 160px;
z-index: 1;
transition: all 0.2s ease;

}
#select{
border: 1px solid black;
border-radius: 20px;
}
h1 {
font-size: 32px;
color: #333;
margin-bottom: 10px;
text-align: center;

}

h3 {
font-size: 20px;
color: #666;
}


.dropdown-content a {
color: #4a4a4a;
font-size: 14px;
padding: 10px;
white-space: nowrap;
font-size: 16px;
}

.dropdown-content a:hover {
background-color: #f1f1f1;
color: #4a4a4a;
border-radius: 10px;
}

.urgence-intervention{
background-color: rgb(235, 56, 56);
color: #fff;
padding: 10px;
border-radius: 20px;
text-align: center;
font-size: 24px;
margin-top: 20px;
}

.container .text h1{
font-size: 38px;
text-align: center;
}
.container .text h3{
font-size: 30px;
text-align: center;
}
.container {
display: flex;
flex-direction: column;
}
.container-titre{
display: flex;
flex-direction: column;
text-align: center;
border-radius: 20px;
margin-top: 40px;
font-weight:300;
}
.container-details{
display: flex;
flex-direction: row;
align-items: center;

}
.container-competences{
margin-top: 40px;
justify-content: center;
display: flex;
}
.container-competences .row{
display: flex;

}
.container h2{
text-align: left;
font-size: 30px;


}
.container  .container-details ul{
list-style-type: none;
font-size: 18px;
}
.container .text {
flex: 1;
font-size: 22px;
height: 700px;
margin: 10px;
border-radius: 20px;

}
.description-services {
margin: 20px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}

.description-service {
margin-bottom: 40px;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
width: 40%;
margin: 30px;
height: 100%;
}

.description-service img {
margin-bottom: 20px;
border-radius: 8px;
max-width: 100%;
height: auto;
}

.description-services h1 {
font-size: 36px;
font-weight: bold;
margin-bottom: 20px;
color: #333;
}

.description-services p {
font-size: 18px;
line-height: 1.6;
margin-bottom: 20px;
color: #666;
text-align: justify;
}
.description {
flex-grow: 1;
}
.description-services strong {
font-weight: bold;
color: #333;
}

.description-services a {
color: #337ab7;
text-decoration: none;
transition: color 0.3s;
}

.description-services a:hover {
color: #23527c;
}

.description-services a.btn {
display: inline-block;
padding: 12px 24px;
background-color: #337ab7;
color: #fff;
border-radius: 8px;
text-decoration: none;
transition: background-color 0.3s;
}

.description-services a.btn:hover {
background-color: #23527c;
}

.description-services .highlight {
color: #943B00;
font-weight: bold;
}

section p {
color: #333;
font-size: 16px;
margin-bottom: 20px;
}

strong {
font-weight: bold;
}

em {
font-style: italic;
}
.sections{
display: flex;
flex-direction: row;
}
.sections section{
margin: 20px;
}
.sections section p{
text-align: justify;
}
.sections section h2{
text-align: center;
}
.services {
margin-bottom: 40px;
display: flex;
justify-content: center;
}
section{
width: 50%;
}
section h2{
text-align: center;
}
.services h3 {
font-size: 20px;
font-weight: 600;
color: #333;
margin-bottom: 10px;
}

.services p {
font-size: 16px;
line-height: 1.5;
margin-bottom: 15px;
}

.services .icon {
margin-right: 10px;
color: #333;
}
.services a{
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.08);
margin: 10px;
padding: 10px;
border-radius: 20px;
box-sizing: border-box;
width: 100%;
}
.services .service p{
text-align: justify;
}
.image {
flex: 1;

}
.container .image img{
border-radius: 20px;
height:400px;
}

.expertise-title {
font-size: 50px;
color: brown;
text-align: center;
}
.travaux-title {
display: flex;
justify-content: center;
font-size: 50px;
color: #4677ff;
}


.skill {
margin-bottom: 30px;
text-align: left;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.08);
transition: box-shadow 0.3s ease-in-out;
margin: 10px;
border-radius: 20px;
padding: 10px;
cursor: pointer;
display: flex;
flex-direction: column;
justify-content: center;
flex-wrap: wrap;
align-items:center;
height: 100%; /* Définissez ici la hauteur souhaitée pour tous les éléments */
box-sizing: border-box;
}

.skill img {
width: 90px;
height: 90px;
margin-bottom: 20px;
}

.skill h3 {
margin-bottom: 10px;
text-align: center;
}

.skill a {
display: inline-block;
background-color: #007bff;
color: #fff;
padding: 10px 20px;
border-radius: 5px;
text-decoration: none;
}
.skill a:hover{
background-color: #3b9aff;
}
.skill .button{
background-color: #276327;
color: #fff;
padding: 10px;
border-radius: 20px;
}
.skill p{
text-align: left;
}
.avis{
display: flex;
flex-direction: column; 
justify-content: center;
align-items: center;
margin-top: 40px;
transition: all 0.3s ease; /* transition pour l'effet de survol */
border-radius: 5px; /* bordures arrondies */
padding: 20px; /* marge interne */
background-color: #88cfff00; /* couleur de fond */
border-radius: 20px;
margin-left: auto;
margin-right: auto;
}
.avis img{
    margin: 20px;
}
.avis-content{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.avis-content h1{
    font-size: 1rem;
}
.avis .etoiles{
display: flex;
justify-content: center;
}
.avis .etoiles img{
height: 70px;
}

.avis h3{
display: flex;
justify-content: center;
text-align: center;

}

.devis {
background-color: #f7f7f7;
padding: 20px;
text-align: center;
border-radius: 20px;
font-size: 24px;
margin-top: 60px;
margin-left: 20px;
margin-right: 20px;
}

.devis p {
font-size: 18px;
margin-bottom: 10px;
font-size: 34px;
font-weight: 400;
}

.btn {
display: inline-block;
background-color: #006114;
color: white;
padding: 10px 20px;
border-radius: 5px;
text-decoration: none;
transition: background-color 0.3s;
}

.btn:hover {
background-color: #3e8e41;
}
.socials{
margin-top: 50px;
display: flex;
flex-direction: row;
justify-content: center;
}
.rows{
display: flex;
flex-direction: row;
justify-content: center;
flex-wrap: wrap;
text-align: left;
line-height: 0;
}
.rows .row-3{
display: flex;
flex-direction: column;
min-width: 20%;
flex-wrap: wrap;
}
.title_city-intervention{
display: flex;
flex-direction: column;
text-align: left;
}
.title_city-intervention h2{
font-size: 36px;
margin-bottom: 0;
}
.title_city-intervention h3{
font-size:30px;
display: flex;
justify-content: left;
font-weight: 400;
}


footer{
display: flex;
justify-content: space-around;
margin-top: 40px;
margin-bottom: 40px;
}
footer img{
width: 70px;
height: 70px;
cursor: pointer;
}
/* Styles pour la section Hero */
#hero {
background: linear-gradient(to bottom right, #caec6a,#0071c5, #00b4db,#4CAF50);
color: #fff;
padding: 60px;
text-align: center;
border-radius: 20px;
margin-top: 50px;
}

#hero h2 {
font-size: 48px;
margin-bottom: 30px;
}

#hero p {
font-size: 24px;
margin-bottom: 60px;
}

.btn-primary {
background-color: #fff;
border: 2px solid #fff;
color: #0071c5;
display: inline-block;
font-size: 18px;
margin-top: 30px;
padding: 12px 24px;
text-decoration: none;
transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.btn-primary:hover {
background-color: #0071c5;
color: #fff;
}
.deroulement{
display: flex;
flex-direction: column; 
justify-content: center;
align-items: center;
margin-top: 40px;
box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5); /*ombre*/
transition: all 0.3s ease; /* transition pour l'effet de survol */
border-radius: 5px; /* bordures arrondies */
padding: 20px; /* marge interne */
background-color: #57fc1c47;
border-radius: 20px;
margin-left: auto;
margin-right: auto;
}
.timeline {
display: flex;
flex-direction: row; 
justify-content: center;
align-items: center;
box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1); /*ombre*/
transition: all 0.3s ease; /* transition pour l'effet de survol */
border-radius: 5px; /* bordures arrondies */
padding: 20px; /* marge interne */
background-color: #fff; /* couleur de fond */
max-width: 400px; /* largeur maximale */
border-radius: 20px;
margin-left: auto;
margin-right: auto;

}

.timeline:hover {
box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.2); /*ombre au survol*/
}
.timeline img{
width: 30px;
height: 30px;
}
.line {
height: 2px; /* hauteur de la ligne */
background-color: #999; /* couleur de la ligne */
position: relative;
}
.point {
display: flex;
justify-content: space-between;
align-items: center;
margin: 0 20px;
padding: 20px 0;
}

.dot {
padding: 20px;
border: none;
border-radius: 20px;
background-color: #ccc;
color: #fff;
font-size: 16px;
font-weight: bold;
text-transform: uppercase;
cursor: pointer;
}

.content {
display: none;
margin: 20px;
padding: 20px;
border-radius: 20px;
}
.content table tr{
display: flex;
margin-bottom: 20px;
align-items: center;
}

.timeline-content .content h1 {
    text-align:center;
    font-size:60px;
margin-top: 0;
color: #007bff;
}

.timeline-content .content p {
font-size: 20px;
margin-top: 0;
margin-bottom: 0;
color: #000000;
}

.active .dot {
background-color: #ff8400;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.active + .content {
display: block;
}

.timeline-content {
margin: 0 20px;
}

.event-container {
max-width: 600px;
margin: 0 auto;
background-color: #fff;
border-radius: 10px;
padding: 30px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: row;
justify-content: space-between;
}

.event-container p {
color: #555;
line-height: 1.6;
font-size: 20px;
font-weight: bold;
}
.events{
text-align: center;
}
.events h1{
color: #f00;
}
.event-title {
font-size: 24px;
margin-bottom: 20px;
text-align: center;
}

.event-details {
margin-bottom: 20px;
text-align: center;
width: 40%;
}

.event-details h2 {
font-size: 18px;
color: #333;
margin-bottom: 10px;
}

.event-details ul {
list-style-type: none;
padding: 0;
}

.event-details li {
margin-bottom: 5px;
}

.event-icons {
text-align: center;
margin-top: 20px;
}

.event-icons img {
width: 50px;
height: 50px;
margin: 10px;
}

/* Media queries pour rendre le site responsive */
@media screen and (max-width: 767px) {
.banner {
flex-direction: column;
align-items: center;
}

.banner div {
margin-top: 10px;
}

.banner img {
margin-right: 0;
}

nav ul {
flex-direction: column;
height: auto;
}

nav li {
margin: 5px 0;
}

nav a {
border-radius: 5px;
}

.slider {
margin-top: 10px;
border-radius: 10px;

}

.slide-caption {
font-size: 36px;
width: 100%;
display: flex;
justify-content: center;
text-align: center;
}

.slide-bottom-caption {
top: 70%;
font-size: 28px;
width: 100%;
display: flex;
justify-content: center;
text-align: center;
}
nav ul {
margin-left: 10px;
background-color: #e7e7e7;
color: #555;
border-radius: 20px;
}
.description-service{
flex-direction: column;
width: 100%;
}
.description-service p {
width: 100%;
}
.container-competences{
display: flex;
flex-direction: column;
margin: 10px;
}
.timeline{
margin-bottom: 20px;
margin-left: 0;
margin-right: 0;
}
.point{
margin: 0;
padding: 0;
}
.content{
margin: 0;
}
.avis{
margin-left: 20px;
margin-right: 20px;
}
.title_city-intervention{
margin-left: 20px;
}
.container-titre{
margin-left: 20px;
margin-right: 20px;
}

.container h2{
margin-left: 20px;
}
.container-details{
margin-left: 20px;
margin-right: 20px;
}
.container .text{
margin-right: 0;
}
.images{
display:none;
}
.services{
flex-wrap: wrap;
margin: 10px;
}
}
/* Afficher la liste de navigation sur les écrans larges */
@media screen and (min-width: 768px) {
.banner-slidetoggle{
display: none;
}

}
a{
text-decoration:none;
color:black;
}