/* Section Hero */
.section-hero {
    background: url('/Images/chantier2.webp') center/cover no-repeat;
    padding: 100px 20px;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Overlay */
    z-index: -1;
    filter: blur(3px);
}

.section-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: bold;
}

.section-hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-top: 10px;
}

/* Section Conseillers */
.section-conseillers {
    background-color: var(--bgaccent);
    color: var(--txtaccent5);
    padding: 60px 20px;
    text-align: center;
}

.section-conseillers h2 {
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: var(--haccent);
}

.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 20px;
}

.content-card {
    background: #ffffff;
    color: #333;
    border-radius: 15px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.2);
}

.content-card i {
    font-size: 3rem;
    color: var(--haccent);
    margin-bottom: 15px;
}

.content-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.content-card p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Section Sécurisation */
.section-securisation {
    background: url('/Images/chantier4.webp') center/cover no-repeat;
    padding: 60px 20px;
    color: #ffffff;
    position: relative;
}

.section-securisation::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Overlay */
    z-index: -1;
}

.section-securisation h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--haccent);
}

.section-securisation p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.section-securisation ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
}

.section-securisation ul li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-securisation ul li i {
    font-size: 1.5rem;
    color: var(--haccent);
}

/* Section Contrats d'Entretien */
.section-entretien {
    background-color: var(--bgaccent);
    color: var(--txtaccent5);
    padding: 60px 20px;
    text-align: center;
}

.section-entretien h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--haccent);
}

.section-entretien p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.content-card {
    background: #ffffff;
    color: #333;
    border-radius: 15px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.2);
}

.content-card i {
    font-size: 3rem;
    color: var(--haccent);
    margin-bottom: 15px;
}

.content-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Section Contact */
.section-contact {
    background-color: #000000;
    padding: 60px 20px;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Overlay */
    z-index: -1;
}

.section-contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--haccent);
}

.section-contact p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--haccent);
    color: #ffffff;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: #005a99;
    transform: translateY(-5px);
}

/* Responsive Design for all sections */
@media (max-width: 1024px) {
    /* Section Hero */
    .section-hero {
        padding: 80px 20px;
    }

    .section-hero h1 {
        font-size: 2rem;
    }

    .section-hero p {
        font-size: 1rem;
    }

    /* Content Grid */
    .content-grid {
        flex-direction: column;
        align-items: center;
    }

    .content-card {
        max-width: 90%;
        margin-bottom: 20px;
    }

    /* Section Sécurisation */
    .section-securisation ul {
        text-align: left;
        margin: 0 auto;
    }

    .section-securisation ul li {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    /* Section Hero */
    .section-hero h1 {
        font-size: 1.8rem;
    }

    .section-hero p {
        font-size: 0.9rem;
    }

    /* Content Cards */
    .content-card {
        max-width: 100%;
    }

    .content-card i {
        font-size: 2.5rem;
    }

    .content-card h3 {
        font-size: 1.2rem;
    }

    .content-card p {
        font-size: 0.9rem;
    }

    /* Section Sécurisation */
    .section-securisation ul li {
        font-size: 0.9rem;
    }

    /* Section Contact */
    .section-contact {
        padding: 40px 15px;
    }

    .section-contact h2 {
        font-size: 1.8rem;
    }

    .section-contact p {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    /* Section Hero */
    .section-hero {
        padding: 60px 15px;
    }

    .section-hero h1 {
        font-size: 1.5rem;
    }

    .section-hero p {
        font-size: 0.8rem;
    }

    /* Content Cards */
    .content-card {
        padding: 15px;
    }

    .content-card h3 {
        font-size: 1rem;
    }

    .content-card p {
        font-size: 0.8rem;
    }

    /* Section Sécurisation */
    .section-securisation ul li {
        font-size: 0.8rem;
    }

    /* Section Contact */
    .section-contact h2 {
        font-size: 1.5rem;
    }

    .section-contact p {
        font-size: 0.8rem;
    }

    .cta-button {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}
