* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    flex: 1;
}

header {
    background: #fff;
    color: #333;
    padding: 1rem 0;
}

#logo {
    width: 150px; /* Ajuste la taille du logo */
    height: auto;
}

header .container {
    display: flex;
    align-items: center;
}

header h1 {
    margin-left: 20px;
    font-size: 40px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

section {
    padding: 2rem 0;
    flex: 1;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

h2 {
    margin-bottom: 1rem;
    color: #333;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    /*background: #f4f4f4;*/
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
}

#home {
    background-image: url('../Img/pexels-quang-nguyen-vinh-222549-2134224.jpg');
    background-size: cover;
    background-position: center;
    color: #fff; /* Pour que le texte soit bien visible sur l'image */
    text-align: center;
    padding: 4rem 0;
    position: relative;
}

#home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Couche semi-transparente pour améliorer la lisibilité du texte */
}

#home .container {
    position: relative;
    z-index: 1; /* Assure que le texte soit au-dessus de l'image et de la couche semi-transparente */
}

#home h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

#home p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

#services {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

/*#services h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}*/

.service-category {
    margin-bottom: 2rem;
}

.service-category h3 {
    color: #333;
    margin-bottom: 1rem;
}

.service-category ul {
    list-style: none;
    padding: 0;
}

.service-category ul li {
    background-color: #fff;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-bottom: 5px;
}

form input, form textarea, form button {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background: #333;
    color: #fff;
    cursor: pointer;
}

form button:hover {
    background: #555;
}

#backToTop {
    display: none; /* Caché par défaut */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

#backToTop:hover {
    opacity: 1;
}

footer {
    background: #fff;
    color: #333;
    text-align: center;
    padding: 1rem 0;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    header .container {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin-bottom: 10px;
    }

    #backToTop {
        display: none; /* Cache le bouton sur les écrans plus petits */
    }
}

.contact-info {
    margin-top: 20px;
    font-size: 1.1rem;
}
.contact-info a {
    color: #0073e6;
    text-decoration: none;
}
.contact-info a:hover {
    text-decoration: underline;
}