/* SERIVES CSS */
@import url('https://fonts.googleapis.com/css2?family=BBH+Bogle&family=Dancing+Script:wght@400..700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Pacifico&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&family=Satisfy&display=swap');

/* RESET */
/* CONTAINER */
.container {

    width: 90%;
    max-width: 1200px;
    margin: auto;

}


.section-title {

    text-align: center;
    font-size: 34px;
    margin: 70px 0 30px;
    font-family: "Poppins", sans-serif;

}



/* BANNIERE */

.services-hero {

    height: 60vh;
    background-image: url("https://images.unsplash.com/photo-1552664730-d307ca884978");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;

}

.services-hero h1 {

    font-size: 48px;
    margin-bottom: 15px;
    font-family: "Poppins", sans-serif;

}

.services-hero p {

    max-width: 650px;
    margin: auto;
    font-family: "Poppins", sans-serif;

}



/* INTRO */

.services-intro {

    text-align: center;
    margin-top: 60px;
    font-family: "Poppins", sans-serif;

}

.services-intro p {

    max-width: 700px;
    margin: auto;
    font-family: "Poppins", sans-serif;

}



/* SERVICES */

.services-grid {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;

}


.service-card {

    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding-bottom: 25px;

}


.service-card img {

    width: 100%;
    height: 200px;
    object-fit: cover;

}

.service-card h3 {

    margin: 20px 0 10px;
    font-family: "Poppins", sans-serif;

}


.service-card p {

    padding: 0 20px;
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
    font-family: "Poppins", sans-serif;

}



/* BOUTON */

.service-btn {

    display: inline-block;
    padding: 10px 22px;
    border: 5px double #000;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
    font-family: "Poppins", sans-serif;
    background-color: blue;
    font-weight: bold;
    border-radius: 15px;

}

.service-btn:hover {

    background: #3fe972;
    color: blue;

}



/* POURQUOI NOUS */

.why-us {

    background: #f5f5f5;
    margin-top: 80px;
    padding: 60px 0;

}


.why-grid {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;

}


.why-item {

    background: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);

}

.why-item h3 {
    font-family: "Poppins", sans-serif;
}

.why-item p {
    font-family: "Poppins", sans-serif;
}

.why-item {
    transition: 0.3s;
}

.why-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* SERVICES CONTACT CSS */
.services-cta {

    background: #111;
    color: white;
    text-align: center;
    padding: 70px 20px;
    margin-top: 80px;
    font-family: "Poppins", sans-serif;

}

.services-cta h2 {

    font-size: 32px;
    margin-bottom: 15px;
    font-family: "Poppins", sans-serif;

}

.services-cta p {

    max-width: 650px;
    margin: auto;
    margin-bottom: 30px;
    color: #ddd;
    font-family: "Poppins", sans-serif;

}

.cta-buttons {

    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;

}

.cta-btn {

    padding: 12px 26px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
    background-color: blue;

}

.cta-btn:hover {

    background: white;
    color: black;
    font-family: "Poppins", sans-serif;

}

/* SERVICES RESPONSIVE */
@media (max-width:992px) {

    .services-hero {
        height: 50vh;
    }

    .services-hero h1 {
        font-size: 36px;
    }

    .services-hero p {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .services-intro p {
        font-size: 16px;
    }

}

@media (max-width:768px) {

    .services-hero {
        height: auto;
        padding: 80px 20px;
    }

    .services-hero h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .services-hero p {
        font-size: 15px;
    }

    .services-intro {
        margin-top: 40px;
    }

    .services-intro p {
        font-size: 15px;
        padding: 0 10px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card img {
        height: 180px;
    }

    .service-card h3 {
        font-size: 18px;
    }

    .service-card p {
        font-size: 14px;
    }

    .service-btn {
        width: 80%;
    }

}

@media (max-width:480px) {

    .services-hero h1 {
        font-size: 24px;
    }

    .section-title {
        font-size: 22px;
    }

    .service-card img {
        height: 150px;
    }

}

@media (max-width:992px) {

    .section-title {
        font-size: 28px;
    }

    .why-item h3 {
        font-size: 20px;
    }

    .why-item p {
        font-size: 15px;
    }

    .services-cta h2 {
        font-size: 26px;
    }

    .services-cta p {
        font-size: 15px;
    }

}

@media (max-width:768px) {

    .why-us {
        padding: 40px 15px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-item {
        padding: 20px;
    }

    .why-item h3 {
        font-size: 18px;
    }

    .why-item p {
        font-size: 14px;
    }

    .services-cta {
        padding: 50px 15px;
    }

    .services-cta h2 {
        font-size: 22px;
        line-height: 1.3;
    }

    .services-cta p {
        font-size: 14px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-btn {
        width: 100%;
        text-align: center;
        padding: 14px;
    }

}

@media (max-width:480px) {

    .section-title {
        font-size: 22px;
    }

    .services-cta h2 {
        font-size: 20px;
    }

}