/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Global styles */
body {
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background-color: #1a73e8;
    padding: 15px 0;
    text-align: center;
}

header nav ul {
    list-style: none;
}

header nav ul li {
    display: inline;
    margin: 0 15px;
}

header nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.1rem;
}

header nav ul li a:hover {
    color: #ffd700;
}

/* Hero Section */
.hero {
    background-color: #1a73e8;
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #ffd700;
    color: #1a73e8;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    font-size: 1.1rem;
}

.cta-button:hover {
    background-color: #ffa500;
    color: white;
}

/* Section services */
#services {
    padding: 50px 20px;
    text-align: center;
}

#services h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #1a73e8;
}

.service-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service-item {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 22%;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item h3 {
    font-size: 1.5rem;
    color: #1a73e8;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 1rem;
    color: #555;
}

/* Section À Propos */
#a-propos {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

#a-propos h2 {
    font-size: 2rem;
    color: #1a73e8;
    margin-bottom: 20px;
}

#a-propos p {
    font-size: 1.1rem;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

/* Section Contact */
#contact {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
}

#contact h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #1a73e8;
}

form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

form label {
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: #333;
}

form input, form textarea {
    margin-bottom: 20px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

form textarea {
    height: 150px;
    resize: vertical;
}

form button {
    background-color: #1a73e8;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    background-color: #1a73e8;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 40px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .service-list {
        flex-direction: column;
        align-items: center;
    }

    .service-item {
        width: 80%;
        margin-bottom: 20px;
    }

    form {
        padding: 0 15px;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 10px 25px;
    }

    .service-item {
        width: 100%;
    }

    form label {
        font-size: 1rem;
    }

    form input, form textarea {
        font-size: 1rem;
    }

    form button {
        font-size: 1rem;
    }
}
