@import url('https://fonts.googleapis.com/css2?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&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: rgb(11, 73, 135);
    z-index: 1000;
    box-shadow: 0px 0px 2px black;
}

.logo img {
    height: 40px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 16px;
}

.main-nav a:hover {
    color: #ff9800;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.menu-open .hamburger {
    background: transparent;
}

.menu-open .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-open .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

.whatsapp-bubble {
    position: fixed;
    left: 24px;
    bottom: 32px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 16px #0002;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    z-index: 10;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.whatsapp-bubble:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px #0003;
    color: #fff;
    background: #20ba5a;
}

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0b4987;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ff9800;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

.firstSection {
    background-image: url(images/acier-entreprise-de-construction-urbaine-d-observation.jpg);
    background-position: center;
    background-size: cover;
    height: 100vh;
    padding-top: 50px;
    position: relative;
}

.intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 200px;
}

.intro img h1 {
    position: absolute;
    z-index: 10;
}

.intro img {
    width: 100px;
    height: auto;
    display: block;
}

.intro h1 {
    color: white;
    font-size: 3rem;
    text-align: center;
    font-weight: bold;
}

.intro h1 span {
    color: #ff9800;
    font-size: 1.1em;
    font-weight: bold;
}

.firstSection::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 170vw;
    height: 100vh;
    background: #0b4987bc;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    pointer-events: none;
}

.secondSection {
    background: linear-gradient(to top, #ffb300d5 0%, #0b4987e5 50%, #0b4987e5 100%), url(images/pikaso_embed_A-middleaged-black-man-with-a-beard-wearing-a-hard.jpeg);
    background-position: center;
    background-size: cover;
    height: 100vh;
    padding-top: 100px;
    position: relative;
}

.apropos,
.objectif,
.col {
    color: white;
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    text-align: justify;
}

.apropos h2,
.objectif h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 100px;
}

.valeur-title {
    display: flex;
    justify-content: center;
    color: white;
    align-items: center;
    font-size: 2rem;
    margin-bottom: 100px;
}

.apropos-text,
.objectif-text {
    margin-bottom: 15px;
    max-width: 750px;
}

.apropos-title span,
.objectif-title span,
.valeur-title span {
    color: #0b4987;
    font-size: 2rem;
    background-color: white;
    padding: 5px;
}

.thirdSection {
    height: 100vh;
    align-items: center;
    display: flex;
    justify-content: center;
    position: relative;
    background: linear-gradient(to top, #ffb300d5 0%, #0b4987e5 50%, #0b4987e5 100%);
    background-position: center;
    background-size: cover;

}

.col1 {
    position: relative;
    height: 60vh;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 25px;
}

.col1 .layer {
    position: relative;
    flex: 1 1 0;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    background-size: cover;
    background-position: center;
    opacity: 0.85;
    overflow: hidden;
}

.col1 .layer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(89, 85, 85, 0.512);
    z-index: 1;
}

.col1 .layer span,
p,
i {
    text-align: center;
    position: relative;
    z-index: 2;
}

.col1 .layer1 {
    background-image: url('images/black-white-scene-showcasing-life-construction-workers-site.jpg');
}

.col1 .layer2 {
    background-image: url('images/medium-shot-man-working-as-lawyer.jpg');
}

.col1 .layer3 {
    background-image: url('images/network-switch-with-cables.jpg');
}

.layer1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.layer1 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
    margin-bottom: 0;
}

.fourthSection {
    height: auto;
    min-height: 100vh;
    align-items: center;
    display: flex;
    justify-content: center;
    position: relative;
    background-color: #0b4987;
    background-position: center;
    background-size: cover;
    padding: 60px 0 40px 0;
}

.service-line {
    height: 1px;
    background: #ff9800;
    border: 1px solid #ff9800;
    margin-top: 10px;
    margin-bottom: 30px;
}

.contact-info {
    margin-top: auto;
    color: #fff;
    padding: 16px;
    text-align: center;
}

.contact-info a {
    color: white;
    text-decoration: none;
}

.contact-info img {
    width: 50px;
    margin-top: 100px;
}


.services-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.services-content {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 18px 16px;
    box-shadow: 0 2px 8px #0001;
}

.icon-wrap {
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-content i {
    font-size: 2rem;
    background: #ff9800;
    color: #fff;
    padding: 14px;
    border-radius: 8px;
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-content p {
    max-width: 400px;
    color: #fff;
    margin-bottom: 6px;
    font-size: 1.08rem;
}

.services-content b {
    color: #ff9800;
}

.service-line {
    height: 2px;
    background: #ff9800;
    border: none;
    margin-top: 10px;
    margin-bottom: 0;
    width: 60px;
}

.services h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 36px;
    font-size: 2rem;
    letter-spacing: 1px;
}

/* Footer styles */
.main-footer {
    background: #0b4987;
    color: #fff;
    padding: 32px 0 16px 0;
    text-align: center;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.footer-logo img {
    width: 60px;
    margin-bottom: 8px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 1rem;
}

.footer-links a:hover {
    color: #ff9800;
}

.footer-copy {
    font-size: 0.95rem;
    margin-top: 8px;
    opacity: 0.8;
}

/* Media queries pour le responsive */
@media (max-width: 992px) {
    .secondSection {
        grid-template-columns: 1fr;
        height: auto;
    }

    .secondSection .col {
        min-height: auto;
        padding: 40px 20px;
    }

    .secondSection .apropos,
    .secondSection .services,
    .secondSection .clients {
        height: auto;
    }
}

@media (max-width: 768px) {
    .firstSection {
        grid-template-columns: 1fr;
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .col1::after,
    .col2::after {
        display: none;
    }


    .col1 .layer {
        margin-right: 0;
    }

    .col1 {
        height: 100vh;
        gap: 0;
    }

    .firstSection::before {
        width: 300vw;
        height: 55vh;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: #0b4987;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .menu-open .main-nav {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .main-nav li {
        margin: 15px 0;
    }

    .main-nav a {
        font-size: 18px;
        display: block;
        padding: 10px 0;
    }

    .services-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .services-content p {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .col3 h1 {
        font-size: 1.2rem;
    }

    .contact-info {
        font-size: 14px;
    }

    .whatsapp-bubble {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}

/* Responsive thirdSection */
@media (max-width: 900px) {
    .thirdSection {
        height: auto;
        padding: 40px 0 20px 0;
    }

    .col1 {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        gap: 24px;
    }

    .col1 .layer {
        width: 100%;
        min-height: 180px;
        margin: 0;
    }

    .col1 .layer img {
        display: none;
    }
}

@media (max-width: 600px) {
    .thirdSection {
        padding: 24px 0 10px 0;
    }

    .valeur-title {
        font-size: 1.3rem;
        margin-bottom: 32px;
    }

    .col1 .layer span {
        font-size: 1.1rem;
    }

    .col1 .layer p {
        font-size: 1rem;
    }

    .col1 .layer i {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
}

/* Responsive fourthSection */
.fourthSection {
    height: auto;
    min-height: 100vh;
    align-items: center;
    display: flex;
    justify-content: center;
    position: relative;
    background-color: #0b4987;
    background-position: center;
    background-size: cover;
    padding: 60px 0 40px 0;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.services-content {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 18px 16px;
    box-shadow: 0 2px 8px #0001;
}

.icon-wrap {
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-content i {
    font-size: 2rem;
    background: #ff9800;
    color: #fff;
    padding: 14px;
    border-radius: 8px;
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-content p {
    max-width: 400px;
    color: #fff;
    margin-bottom: 6px;
    font-size: 1.08rem;
}

.services-content b {
    color: #ff9800;
}

.service-line {
    height: 2px;
    background: #ff9800;
    border: none;
    margin-top: 10px;
    margin-bottom: 0;
    width: 60px;
}

.services h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 36px;
    font-size: 2rem;
    letter-spacing: 1px;
}

/* Footer styles */
.main-footer {
    background: #0b4987;
    color: #fff;
    padding: 32px 0 16px 0;
    text-align: center;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.footer-logo img {
    width: 60px;
    margin-bottom: 8px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 1rem;
}

.footer-links a:hover {
    color: #ff9800;
}

.footer-copy {
    font-size: 0.95rem;
    margin-top: 8px;
    opacity: 0.8;
}

/* Media queries pour le responsive */
@media (max-width: 992px) {
    .secondSection {
        grid-template-columns: 1fr;
        height: auto;
        padding-bottom: 100px;
    }

    .secondSection .col {
        min-height: auto;
        padding: 40px 20px;
    }

    .secondSection .apropos,
    .secondSection .services,
    .secondSection .clients {
        height: auto;
    }
}

@media (max-width: 768px) {
    .firstSection {
        grid-template-columns: 1fr;
        height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .intro{
        margin-top: 50px;
    }

    .intro h1{

        font-size: 2.2rem;
    }

    .col1::after,
    .col2::after {
        display: none;
    }


    .col1 .layer {
        margin-right: 0;
    }

    .col1 {
        height: 100vh;
        gap: 0;
    }

    .firstSection::before {
        width: 300vw;
        height: 80vh;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: #0b4987;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .menu-open .main-nav {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .main-nav li {
        margin: 15px 0;
    }

    .main-nav a {
        font-size: 18px;
        display: block;
        padding: 10px 0;
    }

    .services-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .services-content p {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .col3 h1 {
        font-size: 1.2rem;
    }

    .contact-info {
        font-size: 14px;
    }

    .whatsapp-bubble {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
}

/* Responsive thirdSection */
@media (max-width: 900px) {
    .thirdSection {
        height: auto;
        padding: 40px 0 20px 0;
    }

    .col1 {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        gap: 24px;
    }

    .col1 .layer {
        width: 100%;
        min-height: 180px;
        margin: 0;
    }

    .col1 .layer img {
        display: none;
    }
}

@media (max-width: 600px) {
    .firstSection{
        height: 100vh;
    }
    .intro{
        margin-top: 50px;
    }

    .intro img{
        margin-bottom: 5px;
    }

    .intro h1{
        font-size: 2.2rem;
    }

    .thirdSection {
        height: 100vh;
        padding: 24px 0 10px 0;
    }

    .valeur-title {
        font-size: 1.3rem;
        margin-bottom: 32px;
    }

    .col1 .layer span {
        font-size: 1.1rem;
    }

    .col1 .layer p {
        font-size: 1rem;
    }

    .col1 .layer i {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .col1 .layer img {
        display: block;
        position: relative;
        width: 90px;
        height: 90px;
        margin: 0 auto 10px auto;
        opacity: 0.7;
        z-index: 2;
        object-fit: contain;
    }
}

/* Responsive fourthSection */
.fourthSection {
    height: auto;
    min-height: 100vh;
    align-items: center;
    display: flex;
    justify-content: center;
    position: relative;
    background-color: #0b4987;
    background-position: center;
    background-size: cover;
    padding: 60px 0 40px 0;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.services-content {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 18px 16px;
    box-shadow: 0 2px 8px #0001;
}

.icon-wrap {
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-content i {
    font-size: 2rem;
    background: #ff9800;
    color: #fff;
    padding: 14px;
    border-radius: 8px;
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-content p {
    max-width: 400px;
    color: #fff;
    margin-bottom: 6px;
    font-size: 1.08rem;
}

.services-content b {
    color: #ff9800;
}

.service-line {
    height: 2px;
    background: #ff9800;
    border: none;
    margin-top: 10px;
    margin-bottom: 0;
    width: 60px;
}

.services h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 36px;
    font-size: 2rem;
    align-items: center;
    letter-spacing: 1px;
}

/* fifthSection styles */
.fifthSection {
    background: linear-gradient(to top, #ffb300d5 0%, #0b4987e5 50%, #0b4987e5 100%);
    padding: 60px 0 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.col2 {
    max-width: 900px;
    margin: 0 auto;
    background: #0b4987;
    border-radius: 16px;
    box-shadow: 0 2px 12px #0002;
    padding: 36px 40px;
    color: #fff;
}

.col2-content h2 {
    text-align: center;
    margin-bottom: 32px;
    color: white;
    font-size: 2rem;
    letter-spacing: 1px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-info>div {
    flex: 1 1 180px;
    min-width: 180px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 16px 12px;
    box-sizing: border-box;
}

.contact-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info a {
    color: #ff9800;
    text-decoration: underline;
    word-break: break-all;
}

.contact-info img {
    width: 60px;
    height: auto;
    border-radius: 8px;
    padding: 6px;
    display: block;
    margin: 0 auto;
}

.contact-info hr {
    border: none;
    border-top: 1px solid #ff9800;
    margin: 12px 0;
    opacity: 0.6;
}

/* Clients section */
.clientsSection {
    background: #fff;
    padding: 60px 0 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.clients-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.clients-title {
    color: #0b4987;
    font-size: 2rem;
    margin-bottom: 32px;
    letter-spacing: 1px;
}


.clients-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px;
    margin-top: 16px;
}

.client-logo {
    background: #f7f7f7;
    border-radius: 12px;
    box-shadow: 0 2px 8px #0001;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    min-height: 80px;
    transition: box-shadow 0.2s;
}

.client-logo img {
    max-width: 100px;
    max-height: 48px;
    object-fit: contain;
    filter: grayscale(0.2);
    transition: filter 0.2s;
}

.client-logo:hover img {
    filter: grayscale(0) brightness(1.1);
}

/* Responsive */
@media (max-width: 900px) {
    .clients-logos {
        gap: 20px;
    }
    .client-logo {
        min-width: 90px;
        min-height: 60px;
        padding: 12px 10px;
    }
    .client-logo img {
        max-width: 70px;
        max-height: 36px;
    }
}

@media (max-width: 600px) {
    .clientsSection {
        padding: 28px 0 16px 0;
    }
    .clients-title {
        font-size: 1.3rem;
        margin-bottom: 18px;
    }
    .clients-logos {
        gap: 10px;
    }
    .client-logo {
        min-width: 60px;
        min-height: 40px;
        padding: 8px 4px;
    }
    .client-logo img {
        max-width: 44px;
        max-height: 24px;
    }
}


/* Responsive pour les écrans de 1000px et plus */
@media (min-width: 1000px) {
    .main-header {
        padding: 20px 60px;
    }

    .main-nav {
        position: static;
        width: auto;
        height: auto;
        background: none;
        box-shadow: none;
        padding: 0;
        display: flex !important;
    }

    .main-nav ul {
        flex-direction: row;
        gap: 32px;
    }

    .main-nav li {
        margin: 0 20px;
    }

    .menu-toggle {
        display: none !important;
    }

    .firstSection,
    .secondSection,
    .thirdSection,
    .fourthSection,
    .fifthSection,
    .clientsSection {
        max-width: auto;
        margin: 0 auto;
        padding-left: 40px;
        padding-right: 40px;
    }

    .secondSection {
        display: flex;
        flex-direction: row;
        gap: 60px;
        align-items: flex-start;
        justify-content: center;
        padding-bottom: 100px;
    }
    .secondSection .col {
        flex: 1 1 0;
        max-width: 600px;
    }

    .intro h1 {
        font-size: 3.5rem;
    }

    .col1 {
        flex-direction: row;
        gap: 40px;
        height: 60vh;
    }

    .col1 .layer {
        min-width: 300px;
        min-height: 280px;
    }

    .services-list {
        flex-direction: row;
        gap: 40px;
        justify-content: center;
    }

    .services-content {
        flex-direction: column;
        align-items: flex-start;
        min-width: 280px;
        max-width: 350px;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
    }

    .clients-logos {
        gap: 48px;
    }
}