
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

body {
  margin: 0;
  font-family: 'Montserrat';
  background-color: #ffffff;
  color: #333;
}
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}
header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px 0;
}
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    height: 50px;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
nav a {
    text-decoration: none;
    color: #45b1e8;
    font-weight: bold;
}
nav a.active {
    border-bottom: 2px solid #45b1e8;
}
.hero {
    background: #f4f7fa;
    color: #333;
    text-align: center;
    padding: 100px 20px;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.2rem;
}
.btn {
    background-color: #45b1e8;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
    display: inline-block;
    margin-top: 20px;
}
.btn:hover {
    background-color: #45b1e8;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px 0;
}
.service {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
footer {
    background-color: #45b1e8;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}
.contact-form {
    background-color: #ffffff;
    padding: 30px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.contact-form label {
    display: block;
    margin-top: 15px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

/* Responsive nav */
#menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

#menu-toggle span {
    background: #45b1e8;
    height: 3px;
    margin: 4px 0;
    border-radius: 2px;
    display: block;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        gap: 15px;
        background-color: white;
        padding: 20px;
        position: absolute;
        top: 70px;
        right: 10px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.15);
        z-index: 100;
    }

    nav ul.open {
        display: flex;
    }

    #menu-toggle {
        display: flex;
    }
}

/* Flex layout pour le header responsive */
.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

#menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 999;
    background-color: #fff;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#menu-toggle span {
    background: #45b1e8;
    height: 3px;
    width: 100%;
    margin: 2px 0;
    border-radius: 2px;
    display: block;
}

#menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 9999;
    background-color: white;
    border: 2px solid #45b1e8;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

#menu-toggle span {
    background-color: #45b1e8;
    height: 3px;
    width: 70%;
    margin: 4px 0;
    border-radius: 2px;
    display: block;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        gap: 15px;
        background-color: white;
        padding: 20px;
        position: absolute;
        top: 70px;
        right: 10px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.15);
        z-index: 100;
    }

    nav ul.open {
        display: flex;
    }

    #menu-toggle {
        display: flex;
    }
}

#menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #fff;
    border: 2px solid #45b1e8;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 9999;
    cursor: pointer;
}

#menu-toggle span {
    background-color: #45b1e8;
    height: 4px;
    width: 25px;
    margin: 3px 0;
    display: block;
    border-radius: 2px;
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        gap: 15px;
        background-color: white;
        padding: 20px;
        position: absolute;
        top: 70px;
        right: 10px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.15);
        z-index: 100;
    }

    nav ul.open {
        display: flex;
    }

    #menu-toggle {
        display: flex;
    }
}
